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