X-Git-Url: https://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=Makefile;h=c933edc1a60e9aae1f39808e273438968abc6abc;hp=12f5f8ae4114bea2c4b816b92018e2e1e5085e1c;hb=98bcd76b4c284676f55d754879dee9bda1898924;hpb=31a441b1a6d2d87e1c05101290c59c4c5b9523ad diff --git a/Makefile b/Makefile index 12f5f8a..c933edc 100644 --- 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 alien.h typeregister.h + +odcread: odcread.o reader.o store.o util.o alien.o typeregister.o textmodel.o + g++ -o $@ $^ + +%.o: %.cc $(HEADERS) + g++ -c -I. -o $@ $<