all:
for tgt in $(ALLTARGETS); do \
- $(MAKE) clean $$tgt; \
+ $(MAKE) clean $$tgt || exit 1; \
done
#-----------------------------------------------------------------------------
apple2lib:
export CFLAGS="-Osir -g -t apple2 -I../../include";\
- for i in apple2 common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in apple2 common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv apple2/crt0.o apple2.o
for i in apple2 common runtime conio dbg; do \
$(AR) a apple2.lib $$i/*.o;\
atarilib:
export CFLAGS="-Osir -g -t atari -I../../include";\
- for i in atari common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in atari common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv atari/crt0.o atari.o
for i in atari common runtime conio dbg; do \
$(AR) a atari.lib $$i/*.o;\
c64lib:
export CFLAGS="-Osir -g -t c64 -I../../include";\
- for i in c64 cbm common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in c64 cbm common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv c64/crt0.o c64.o
for i in c64 cbm common runtime conio dbg; do \
$(AR) a c64.lib $$i/*.o;\
c128lib:
export CFLAGS="-Osir -g -t c128 -I../../include";\
- for i in c128 cbm common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in c128 cbm common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv c128/crt0.o c128.o
for i in c128 cbm common runtime conio dbg; do \
$(AR) a c128.lib $$i/*.o;\
cbm610lib:
export CFLAGS="-Osir -g -t cbm610 -I../../include";\
- for i in cbm610 cbm common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in cbm610 cbm common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv cbm610/crt0.o cbm610.o
for i in cbm610 cbm common runtime conio dbg; do \
$(AR) a cbm610.lib $$i/*.o;\
geoslib:
export CFLAGS="-Osir -g -t geos -I../../include";\
- for i in geos common runtime; do $(MAKE) -C $$i; done
+ for i in geos common runtime; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
for i in common runtime; do \
$(AR) a geos.lib $$i/*.o;\
done
petlib:
export CFLAGS="-Osir -g -t pet -I../../include";\
- for i in pet cbm common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in pet cbm common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv pet/crt0.o pet.o
for i in pet cbm common runtime conio dbg; do \
$(AR) a pet.lib $$i/*.o;\
plus4lib:
export CFLAGS="-Osir -g -t plus4 -I../../include";\
- for i in plus4 cbm common runtime conio dbg; do $(MAKE) -C $$i; done
+ for i in plus4 cbm common runtime conio dbg; do \
+ $(MAKE) -C $$i || exit 1; \
+ done
mv plus4/crt0.o plus4.o
for i in plus4 cbm common runtime conio dbg; do \
$(AR) a plus4.lib $$i/*.o;\