PageRenderTime 48ms CodeModel.GetById 39ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Makefile

https://code.google.com/p/nepheliad-os/
Makefile | 24 lines | 18 code | 6 blank | 0 comment | 0 complexity | 682157ffdf17ae0fa43094e1e11539a7 MD5 | raw file
 1include Makefile.inc
 2
 3ISOFLAGS = -R -b nbl.bin -no-emul-boot -boot-load-size 4
 4DIRS 	 = nbl
 5EXE      = nepheliad.iso
 6NBL      = nbl.bin not_krnl.bin
 7
 8all : $(EXE)
 9
10$(EXE) : $(DIRS)
11	$(ISO) $(ISOFLAGS) -o $@ isofiles
12	rm -rf isofiles
13
14$(DIRS) : force_look
15	cd nbl; $(MAKE) $(MFLAGS)
16	cp nbl/nbl.bin isofiles/.
17	cp nbl/not_krnl.bin isofiles/.
18
19force_look :
20	mkdir isofiles 
21	
22clean:
23	rm -rf isofiles *.iso
24	cd nbl; $(MAKE) $(MFLAGS) clean