summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-09-13 18:34:39 +0200
committerAlexis211 <alexis211@gmail.com>2009-09-13 18:34:39 +0200
commit23c20becb3542c7d5fa041ec69902abe8e2c8d64 (patch)
treefd573796e5f00cf9f61de0a3a392bd790d5d5ac9 /Makefile
parentc4f0f07dfcb946bfceb80790aa7e5e3ec0647e04 (diff)
parent668bbfdaea7e8cba8233ebffe2a9d46a66e257cd (diff)
downloadMelon-23c20becb3542c7d5fa041ec69902abe8e2c8d64.tar.gz
Melon-23c20becb3542c7d5fa041ec69902abe8e2c8d64.zip
Merge branch 'vfs'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 32cd382..664900f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
-.PHONY: clean, mrproper, Init.img
+.PHONY: clean, mrproper, Init.rfs
-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 Source/Kernel/Ressources/Welcome.txt:/Welcome.txt :/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; \