Große Umstellung. Viel hinzugefügt.
[h316.git] / pc-tools / ldc / Makefile
diff --git a/pc-tools/ldc/Makefile b/pc-tools/ldc/Makefile
new file mode 100644 (file)
index 0000000..4824f7d
--- /dev/null
@@ -0,0 +1,21 @@
+default: ldc
+
+all: ldc
+
+%.o: %.c *.h
+       @echo -n Baue: $@
+       @echo
+       @gcc -c -Wunknown-pragmas -o$@  $<
+
+
+ldc: ldc.o process.o hw_helpers.o tape.o split.o
+       @echo Baue: ldc
+       @gcc -o$@  $^
+
+clean:
+       rm -f *.o ldc
+
+install: ldc
+       cp ldc $(HOME)/bin
+
+.PHONY: default all clean install
\ No newline at end of file