A large commit.
[pdp8.git] / sw / dumprest / original / Makefile
diff --git a/sw/dumprest/original/Makefile b/sw/dumprest/original/Makefile
new file mode 100644 (file)
index 0000000..60d1072
--- /dev/null
@@ -0,0 +1,26 @@
+#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