summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--boot2/Makefile4
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)