mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 12:23:36 +08:00
a735aa3139
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@652 c046a42c-6fe2-441c-8c8c-71466251a162
25 lines
328 B
Makefile
25 lines
328 B
Makefile
#
|
|
# NOTE: only compilable with x86 cross compile tools
|
|
#
|
|
include ../config-host.mak
|
|
|
|
DEFINES=
|
|
|
|
TARGETS=
|
|
ifeq ($(ARCH),i386)
|
|
TARGETS+=linux_boot.bin
|
|
endif
|
|
|
|
all: $(TARGETS)
|
|
|
|
linux_boot.bin: linux_boot.o
|
|
ld --oformat binary -Ttext 0 -o $@ $<
|
|
chmod a-x $@
|
|
|
|
%.o: %.S
|
|
$(CC) $(DEFINES) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f $(TARGETS) *.o *~
|
|
|