summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-17 12:54:48 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-17 12:54:48 +0200
commit82756b86977dc65468f6298787d8dca5634ac788 (patch)
tree6d8628647be9eb4a61e6dd0bf8b4ef84685be5ff /Makefile
parent4d5348a49f54d95c0271c8f9c4ef01c005d6b74b (diff)
downloadMelon-82756b86977dc65468f6298787d8dca5634ac788.tar.gz
Melon-82756b86977dc65468f6298787d8dca5634ac788.zip
Each Process now has a user heap.
It will be used for transferring data from kernel to userland.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1ee22b3..9a7d72a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,8 @@
.PHONY: clean, mrproper, Init.rfs
-Files = Source/Kernel/Melon.ke Init.rfs
-Floppy = Melon.img
-
Projects = Kernel Tools/MakeRamFS
+Kernel = Source/Kernel/Melon.ke
RamFS = Init.rfs
RamFSFiles = :/System :/System/Applications :/System/Configuration :/System/Keymaps \
Source/Kernel/Ressources/Keymaps/fr.mkm:/System/Keymaps/fr.mkm \
@@ -13,11 +11,16 @@ RamFSFiles = :/System :/System/Applications :/System/Configuration :/System/Keym
Source/Kernel/Ressources/Texts/Info.txt:/Useless/Info.txt \
Source/Kernel/Ressources/Graphics/logo.text.cxd:/Useless/Melon-logo
+Files = $(Kernel) $(RamFS)
+Floppy = Melon.img
+
all:
for p in $(Projects); do \
make -C Source/$$p -s; \
done
+$(Files): all
+
rebuild:
for p in $(Projects); do \
make -C Source/$$p rebuild -s; \
@@ -36,7 +39,7 @@ mproper:
$(RamFS):
Source/Tools/MakeRamFS/MakeRamFS $(RamFS) $(RamFSFiles)
-floppy: $(RamFS)
+floppy: $(Files)
sudo mount $(Floppy) Mount -o loop
for f in $(Files); do \
sudo cp $$f Mount; \