build: remise en forme totale de la compilation

This commit is contained in:
Nicolas Hordé 2007-04-02 13:48:46 +00:00
parent c446ca3608
commit f4a08297e9
1 changed files with 10 additions and 12 deletions

View File

@ -1,35 +1,33 @@
all: makall
makall: drivers/drivers.o boot/boot12.bin installer/mbrol.com lib/libs.o system/system.sys
makall: boot/boot12.bin lib/libs.o system/system.sys
sync
clean:
(cd system; make clean)
(cd boot; make clean)
(cd install; make clean)
(cd lib;make clean)
sync
backup: clean
(cd .. ; tar cf - cos | gzip -f - > backup.tar.gz)
(cd .. ; tar cf - cosc | gzip -f - > backup.tar.gz ; cd cosc)
allbackup: backup
(echo Inserez une disquette; sleep ; cp ../backup.tar.bz2 /dev/fd0)
testboot:boot/boot12.bin
(cd test ; cat ../boot/boot12.bin /dev/zero | dd of=a.img bs=512 count=2880 ; bochs)
copy:
(cp system/system.sys /cygdrive/a)
copy2:
(cp system/system.sys /cygdrive/b)
test: clean all copy2
system/system.sys:
(cd system; make)
drivers/drivers.o:
(cd drivers; make)
boot/boot12.bin:
(cd boot; make)
installer/mbrol.com:
(cd install; make)
lib/libs.o:
(cd lib; make)
(cd lib; make)