TARGETS= config.hex $(INSN_TARGETS) INSN_TARGETS= insn-aliases.inc \ insn-opcode.txt insn-desc.txt insn-official.txt \ insn-opcode.ps insn-desc.ps insn-official.ps insn-check.txt PROGRAMS= flasher copybits serialloop harness INCLUDES= insn-aliases.inc onecopybit.inc test.inc clockvaries.inc \ ../iwjpictest/syncwrite.inc CEBPIC=../cebpic/ include ../common.make PROGRAM_HEXES= $(addsuffix .hex, $(PROGRAMS)) \ $(addsuffix +withcfg.hex, $(PROGRAMS)) all: $(TARGETS) $(PROGRAM_HEXES) include ../pic.make %+withcfg.hex: $(HEXMERGER) %.hex config.hex $(MERGEHEX) %.hex: %.o $(LIBS) $(DEFLIBS) $(LINK) harness.hex: harness.o syncwrite.o syncwritehex.o $(LIBS) $(LINK) clean: pic-clean rm -f $(INSN_TARGETS) insn-aliases.inc: insn-aliases.inc-gen ./$< --macros $o insn-%.txt: insn-aliases.inc-gen ./$< --by-$* $o insn-check.txt: insn-makecheck insn-aliases.inc ./$^ $o insn-%.ps: insn-%.txt Makefile atp -T A4 -B -f Courier7.4 <$< $o test1.o test2.o: test.inc test.hex: test1.o test2.o $(LINK) copybits.o serialloop.o: onecopybit.inc