diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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; \ |