PiegOS/Makefile

24 lines
323 B
Makefile
Raw Normal View History

2015-07-20 17:18:27 +04:00
EXEC=PiegOS
2015-07-17 18:13:57 +04:00
2015-07-20 17:18:27 +04:00
all:$(EXEC)
2015-07-17 18:13:57 +04:00
2015-07-20 17:18:27 +04:00
#----- Copy kernel -----
$(EXEC): kernel/kernel.bin
cp kernel/kernel.bin ./$(EXEC)
#-----------------------
2015-07-17 18:13:57 +04:00
2015-07-20 17:18:27 +04:00
#----- Gen Kernel -----
2015-07-18 20:23:49 +04:00
kernel/kernel.bin:
cd kernel/ && make
2015-07-20 17:18:27 +04:00
#----------------------
#----- Other -----
2015-07-20 17:23:21 +04:00
.PHONY: clean
2015-07-17 18:13:57 +04:00
clean:
2015-07-18 20:23:49 +04:00
cd kernel && make clean
2015-07-20 17:18:27 +04:00
rm $(EXEC)
#-----------------