#Makefile by Philipp Hachtmann, 2015 CC=gcc PAL=palbart CFLAGS=-Wall PALFLAGS=-l PROGS=dumprk05 restrk05 dumprx01 restrx01 dumptd8e resttd8e sendtape dumbterm blkdectp BINS=restrk05.bin dumprk05.bin restrx01.bin dumprx01.bin setdenrx02.bin resttd8e.bin \ dumptd8e.bin readrk05.bin testrk05.bin testrk05s1.bin default: $(PROGS) $(BINS) $(PROGS):%:%.c $(CC) -o $@ $< $(BINS):%.bin:%.pal $(PAL) $(PALFLAGS) $< clean: rm -f $(PROGS) *~ $(BINS) *.lst *.err