1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
all: aplib.lib cpcrslib.lib plw.lib AS=sdasz80 AR=sdar aplib.lib: aplib.z80 $(AS) -o $< $(AR) -rcD $@ aplib.rel cpcrslib.lib: $(wildcard cpcrslib/*.s) make -C cpcrslib plw.lib: $(wildcard plw/*.z80) make -C plw .PHONY: clean clean: rm -f *.rel *.lib make -C cpcrslib clean make -C plw clean