X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=Makefile;h=1ad67d51ef4708a3a483dab9a454343be7b3618f;hb=252b7a3f5d7ea1205ea360cb2bc59853f60df070;hp=12f5f8ae4114bea2c4b816b92018e2e1e5085e1c;hpb=31a441b1a6d2d87e1c05101290c59c4c5b9523ad;p=odcread.git diff --git a/Makefile b/Makefile index 12f5f8a..1ad67d5 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 + g++ -o $@ $^ + +%.o: %.cc $(HEADERS) + g++ -c -I. -o $@ $<