X-Git-Url: http://deadsoftware.ru/gitweb?p=odcread.git;a=blobdiff_plain;f=Makefile;h=e03bf66b81765e6def5abb7a416c956c6c589aa5;hp=12f5f8ae4114bea2c4b816b92018e2e1e5085e1c;hb=4618e826a4ebe5e60e1d2c419fca7da71657bf9b;hpb=31a441b1a6d2d87e1c05101290c59c4c5b9523ad diff --git a/Makefile b/Makefile index 12f5f8a..e03bf66 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 + +odcread: odcread.o reader.o store.o util.o + g++ -o $@ $^ + +%.o: %.cc $(HEADERS) + g++ -c -I. -o $@ $<