From a9e8cb8535044f24e34e26b9890854b1ae7409bf Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Fri, 14 Nov 2014 13:56:29 +0100 Subject: minor fixes in buildsys --- Makefile | 6 +++--- boot2/Makefile | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f24ee1e..afe7d61 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,9 @@ +# main phony targets - -.PHONY: all new +.PHONY: all new run newrun stick clean ############ some constants ############ @@ -164,7 +164,7 @@ stick: $(FOOLOS) ############ cleanup ############ clean: $(CLEANDIRS) - -rm *.bin $(FOOLOS) $(FOOLOS_DVI) $(KERNEL_ENTRY) $(ASM_OBJECTS) $(OBJECTS) $(IMG_FILLUP) $(BIN_MBR) $(BIN_MP) $(BIN_STAGE2) $(DEPS) bochs.out bochs.log ne2k-tx.log ne2k-txdump.txt + -rm *.bin $(FOOLOS) $(FOOLOS_VDI) $(KERNEL_ENTRY) $(ASM_OBJECTS) $(OBJECTS) $(IMG_FILLUP) $(BIN_MBR) $(BIN_MP) $(BIN_STAGE2) $(DEPS) bochs.out bochs.log ne2k-tx.log ne2k-txdump.txt diff --git a/boot2/Makefile b/boot2/Makefile index f1de230..25a9a2e 100644 --- a/boot2/Makefile +++ b/boot2/Makefile @@ -2,11 +2,15 @@ include ../Makefile.common +.PHONY: all clean + STAGE2=stage2.bin MP=mp.bin ASM_SOURCES=$(wildcard *.asm) +all: $(STAGE2) $(MP) + $(STAGE2): $(ASM_SOURCES) $(MP): $(ASM_SOURCES) -- cgit v1.2.3