summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-04 15:51:43 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-04 15:51:43 +0200
commit75c46037e742f07001fafc5a093b27556d2490c9 (patch)
tree463089fd3c37f6ac397958d113c73b9b1ebfd426 /Makefile
parent06e382afcbf199e5e4ec92574a3872ab04fb6e9e (diff)
reenabled symmetric multiprocessing entry
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d59d676..426ae78 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@
############ phony targets ############
-.PHONY: all clean run
+.PHONY: all clean run stick new newrun
############ some constants ############
@@ -58,6 +58,10 @@ FILLUP=./data/fill.bin
all: FoolOS.img FoolData.img
+new: clean all
+
+newrun: clean run
+
############ nasm assembling rules ############
%.o: %.asm
@@ -92,8 +96,10 @@ FoolOS.img: $(MBR) kernel.bin $(FILLUP)
binfont.img: binfont.bin
cat $^ > $@
-FoolData.img: binfont.bin
- cp $^ $@
+FoolData.img: $(FILLUP) binfont.bin $(MP_BIN)
+ cp $(FILLUP) $@
+ dd if=$(MP_BIN) of=$@ bs=512 seek=0 conv=notrunc
+ dd if=binfont.bin of=$@ bs=512 seek=1 conv=notrunc
############ vm stuff ############