build: ajout du repertoire drivers et des clauses testboot et installall

This commit is contained in:
Nicolas Hordé 2007-04-02 13:24:34 +00:00
parent 755099ca3e
commit f1710cf9ce
1 changed files with 12 additions and 2 deletions

View File

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