From 97750badf74389b8c8a80d5eab7fa913c1ae0235 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 22 Oct 2014 21:40:08 +0200 Subject: fixes in Makefile, concerning release and clean --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2eb2077..3e67244 100644 --- a/Makefile +++ b/Makefile @@ -123,13 +123,16 @@ run: all ############ cleanup ############ -clean: - -rm *.bin *.img bochs.log $(KERNEL_ENTRY) $(ASMOBJECTS) $(OBJECTS) $(FILLUP) $(MBR) $(MP_BIN) bochs.out ne2k-tx.log ne2k-txdump.txt $(STAGE2) +clean_release: + -rm *.bin FoolData.img binfont.img bochs.log $(KERNEL_ENTRY) $(ASMOBJECTS) $(OBJECTS) $(FILLUP) $(MBR) $(MP_BIN) bochs.out ne2k-tx.log ne2k-txdump.txt $(STAGE2) make -C userspace clean +clean: clean_release + -rm FoolOs.img -release: all - -rm *.bin FoolData.img binfont.img bochs.log $(KERNEL_ENTRY) $(ASMOBJECTS) $(OBJECTS) $(FILLUP) $(MBR) $(MP_BIN) bochs.out ne2k-tx.log ne2k-txdump.txt $(STAGE2) +release: new + -mv FoolOS.img release/ + make clean_release userspace/ext2.img: make -C userspace -- cgit v1.2.3