1 TARGETS= config.hex $(INSN_TARGETS)
3 INSN_TARGETS= insn-aliases.inc \
4 insn-opcode.txt insn-desc.txt insn-official.txt \
5 insn-opcode.ps insn-desc.ps insn-official.ps insn-check.txt
7 PROGRAMS= flasher copybits serialloop harness
9 INCLUDES= insn-aliases.inc onecopybit.inc test.inc clockvaries.inc \
10 ../iwjpictest/syncwrite.inc
14 include ../common.make
16 PROGRAM_HEXES= $(addsuffix .hex, $(PROGRAMS)) \
17 $(addsuffix +withcfg.hex, $(PROGRAMS))
19 all: $(TARGETS) $(PROGRAM_HEXES)
23 %+withcfg.hex: $(HEXMERGER) %.hex config.hex
26 %.hex: %.o $(LIBS) $(DEFLIBS)
29 harness.hex: harness.o syncwrite.o syncwritehex.o $(LIBS)
35 insn-aliases.inc: insn-aliases.inc-gen
38 insn-%.txt: insn-aliases.inc-gen
41 insn-check.txt: insn-makecheck insn-aliases.inc
44 insn-%.ps: insn-%.txt Makefile
45 atp -T A4 -B -f Courier7.4 <$< $o
47 test1.o test2.o: test.inc
48 test.hex: test1.o test2.o
51 copybits.o serialloop.o: onecopybit.inc