mirror of
https://github.com/ksherlock/host-modemworks.git
synced 2024-12-12 00:29:02 +00:00
27 lines
430 B
Makefile
27 lines
430 B
Makefile
|
# disable built-in rules.
|
||
|
.SUFFIXES:
|
||
|
# do not auto-delete intermediate objects.
|
||
|
.SECONDARY:
|
||
|
|
||
|
MAKEBIN = mpw MakeBinIIgs
|
||
|
ASM = mpw AsmIIgs
|
||
|
LINK = mpw LinkIIgs
|
||
|
|
||
|
TARGETS = ModemKEGS SerialKEGS
|
||
|
|
||
|
all: $(TARGETS)
|
||
|
|
||
|
.PHONY: clean
|
||
|
clean:
|
||
|
$(RM) -- $(TARGETS) *.omf *.o *.lst
|
||
|
|
||
|
% : %.omf
|
||
|
$(MAKEBIN) -org \$$0ff0 -t \$$2b -at \$$8006 -p -s -o $@ $^
|
||
|
|
||
|
|
||
|
%.omf : %.o
|
||
|
$(LINK) -p -l -x -o $@ $^
|
||
|
|
||
|
%.o : %.aii
|
||
|
$(ASM) -p -l -i ModemWorks/ -o $@ $^
|