mirror of
https://github.com/ksherlock/host-modemworks.git
synced 2024-12-25 23:30:07 +00:00
27 lines
448 B
Makefile
27 lines
448 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 TimeKEGS HashKEGS
|
|
|
|
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 $@ $^
|