old-MTGos/Makefile
2016-08-20 21:55:07 +02:00

13 lines
262 B
Makefile

all: loader.bin mtgos.firm
$(MAKE) -C modules
loader.bin:
$(MAKE) -C boot
mv boot/loader.bin .
mtgos.firm:
$(MAKE) -C kernel
mv kernel/mtgos.elf .
objcopy -O binary mtgos.elf mtgos.bin
./firmlink mtgos
rm -rf mtgos.bin
clean:
find . -name '*.o' -delete