all:
for tgt in $(ALLTARGETS); do \
- $(MAKE) clean $$tgt || exit 1; \
+ $(MAKE) clean $$tgt || exit 1; \
done
#-----------------------------------------------------------------------------
for i in atari common runtime conio dbg; do \
CC=$(CC) \
AS=$(AS) \
- CFLAGS="-Osir -g -T -t atari -I../../include" \
+ CFLAGS="-Osir -g -T -t atari -I../../include" \
AFLAGS="-t atari" \
$(MAKE) -C $$i || exit 1; \
done
for i in c64 cbm common runtime conio dbg; do \
CC=$(CC) \
AS=$(AS) \
- CFLAGS="-Osir -g -T -t c64 -I../../include" \
+ CFLAGS="-Osir -g -T -t c64 -I../../include" \
AFLAGS="-t c64" \
$(MAKE) -C $$i || exit 1; \
done
.PHONY: clean
clean:
@for i in apple2 atari c128 c64 cbm cbm510 cbm610 common conio dbg geos pet plus4 runtime; do \
- $(MAKE) -C $$i clean; \
+ $(MAKE) -C $$i clean; \
done
.PHONY: zap
zap: clean
- @rm -f *.lib
+ @rm -f *.o *.lib