DEADSOFTWARE

Modularize, some progress toward reading stores
[odcread.git] / Makefile
index 12f5f8ae4114bea2c4b816b92018e2e1e5085e1c..e03bf66b81765e6def5abb7a416c956c6c589aa5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,7 @@
-odcread: odcread.cc
-       g++ -o odcread odcread.cc
+HEADERS=oberon.h store.h reader.h domain.h
+
+odcread: odcread.o reader.o store.o util.o
+       g++ -o $@ $^
+
+%.o: %.cc $(HEADERS)
+       g++ -c -I. -o $@ $<