cos2000v2/makefile

38 lines
762 B
Makefile
Raw Normal View History

all: makall
makall: boot/boot12.bin lib/libs.o system/system.sys
sync
clean:
(cd system; make clean)
(cd boot; make clean)
(cd lib;make clean)
sync
backup: clean
(cd .. ; tar cf - cosc | gzip -f - > backup.tar.gz ; cd cosc)
allbackup: backup
2007-04-02 15:27:27 +02:00
(echo Inserez une disquette; sleep ; cp ../backup.tar.bz2 /dev/fd0)
copy:
(cp boot/loader.sys /cygdrive/a)
(cp system/system.sys /cygdrive/a)
(dd if=boot/boot12.bin of=/cygdrive/a bs=512 count=1)
copy2:
(cp boot/loader.sys /cygdrive/b)
(cp system/system.sys /cygdrive/b)
(dd if=boot/boot12.bin of=/cygdrive/b bs=512 count=1)
test: clean all copy2
system/system.sys:
(cd system; make)
boot/boot12.bin:
(cd boot; make)
lib/libs.o:
(cd lib; make)