summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 32cd382..391efa5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
.PHONY: clean, mrproper, Init.img
-Files = Source/Kernel/Melon.ke
+Files = Source/Kernel/Melon.ke Init.rfs
Floppy = Melon.img
-Projects = Kernel
+Projects = Kernel Tools/MakeRamFS
+RamFS = Init.rfs
+RamFSFiles = :/System :/System/Applications :/System/Configuration
all:
for p in $(Projects); do \
@@ -26,7 +28,10 @@ mproper:
make -C Source mrproper -s; \
done
-floppy:
+$(RamFS):
+ Source/Tools/MakeRamFS/MakeRamFS $(RamFS) $(RamFSFiles)
+
+floppy: $(RamFS)
sudo mount $(Floppy) Mount -o loop
for f in $(Files); do \
sudo cp $$f Mount; \