build: remise en forme totale de la compilation
This commit is contained in:
parent
c446ca3608
commit
f4a08297e9
22
makefile
22
makefile
|
@ -1,35 +1,33 @@
|
||||||
all: makall
|
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
|
sync
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
(cd system; make clean)
|
(cd system; make clean)
|
||||||
(cd boot; make clean)
|
(cd boot; make clean)
|
||||||
(cd install; make clean)
|
|
||||||
(cd lib;make clean)
|
(cd lib;make clean)
|
||||||
sync
|
sync
|
||||||
|
|
||||||
backup: clean
|
backup: clean
|
||||||
(cd .. ; tar cf - cos | gzip -f - > backup.tar.gz)
|
(cd .. ; tar cf - cosc | gzip -f - > backup.tar.gz ; cd cosc)
|
||||||
|
|
||||||
allbackup: backup
|
allbackup: backup
|
||||||
(echo Inserez une disquette; sleep ; cp ../backup.tar.bz2 /dev/fd0)
|
(echo Inserez une disquette; sleep ; cp ../backup.tar.bz2 /dev/fd0)
|
||||||
|
|
||||||
testboot:boot/boot12.bin
|
copy:
|
||||||
(cd test ; cat ../boot/boot12.bin /dev/zero | dd of=a.img bs=512 count=2880 ; bochs)
|
(cp system/system.sys /cygdrive/a)
|
||||||
|
|
||||||
|
copy2:
|
||||||
|
(cp system/system.sys /cygdrive/b)
|
||||||
|
|
||||||
|
test: clean all copy2
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
installer/mbrol.com:
|
|
||||||
(cd install; make)
|
|
||||||
|
|
||||||
lib/libs.o:
|
lib/libs.o:
|
||||||
(cd lib; make)
|
(cd lib; make)
|
||||||
|
|
Loading…
Reference in New Issue