52b0000db7
- Apply standard flags from environment everywhere (SF patch #546). - Allow overriding ld and objcopy for building bios on non-x86 platforms.
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Copyright (C) 2001-2013 The Bochs Project
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation; either
|
|
# version 2 of the License, or (at your option) any later version.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
|
|
@SUFFIX_LINE@
|
|
|
|
|
|
top_builddir = ..
|
|
|
|
SHELL = @SHELL@
|
|
|
|
@SET_MAKE@
|
|
|
|
CC = @CC@
|
|
CXX = @CXX@
|
|
CFLAGS = @CFLAGS@ @GUI_CFLAGS@
|
|
CXXFLAGS = @CXXFLAGS@ @GUI_CXXFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
RANLIB = @RANLIB@
|
|
LIBTOOL=@LIBTOOL@
|
|
|
|
|
|
.@CPP_SUFFIX@.o:
|
|
$(CXX) @DASH@c $(CPPFLAGS) $(CXXFLAGS) @CXXFP@$< @OFP@$@
|
|
|
|
|
|
all: make_cmos_image
|
|
|
|
make_cmos_image@EXE@: make_cmos_image.o
|
|
@LINK_CONSOLE@ make_cmos_image.o
|
|
|
|
clean:
|
|
@RMCOMMAND@ *.o
|
|
@RMCOMMAND@ make_cmos_image@EXE@
|
|
|
|
dist-clean: clean
|
|
@RMCOMMAND@ Makefile
|