X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Makefile;h=f54dabe5b55adae8d8c82dc3392a3327dca4c0c4;hb=20613bcf69e139c028704661ad16536217f10990;hp=12f5f8ae4114bea2c4b816b92018e2e1e5085e1c;hpb=31a441b1a6d2d87e1c05101290c59c4c5b9523ad;p=odcread.git diff --git a/Makefile b/Makefile index 12f5f8a..f54dabe 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,7 @@ -odcread: odcread.cc - g++ -o odcread odcread.cc +HEADERS=oberon.h store.h reader.h alien.h typeregister.h textmodel.h fold.h visitor.h + +odcread: odcread.o reader.o store.o util.o alien.o typeregister.o textmodel.o fold.o + g++ -o $@ $^ + +%.o: %.cc $(HEADERS) + g++ -c -I. -o $@ $<