Statistics
| Branch: | Revision:

root / pc-bios / Makefile @ fb9f9444

History | View | Annotate | Download (328 Bytes)

1
#
2
# NOTE: only compilable with x86 cross compile tools
3
#
4
include ../config-host.mak
5

    
6
DEFINES=
7

    
8
TARGETS=
9
ifeq ($(ARCH),i386)
10
TARGETS+=linux_boot.bin
11
endif
12

    
13
all: $(TARGETS)
14

    
15
linux_boot.bin: linux_boot.o
16
	ld --oformat binary -Ttext 0 -o $@ $<
17
	chmod a-x $@
18

    
19
%.o: %.S
20
	$(CC) $(DEFINES) -c -o $@ $<
21

    
22
clean:
23
	rm -f $(TARGETS) *.o *~
24