host-modemworks/Makefile

27 lines
439 B
Makefile
Raw Normal View History

2017-03-18 15:13:41 +00:00
# disable built-in rules.
.SUFFIXES:
# do not auto-delete intermediate objects.
.SECONDARY:
MAKEBIN = mpw MakeBinIIgs
ASM = mpw AsmIIgs
LINK = mpw LinkIIgs
2017-04-01 18:19:32 +00:00
TARGETS = ModemKEGS SerialKEGS TimeKEGS
2017-03-18 15:13:41 +00:00
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 $@ $^