X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile.in;h=9448969914ce7c8975c18a769cfa4ee5fdb46804;hb=dbad0a53f8c54ac65c5859d3e213a10821b797ff;hp=315583b60f8cde0c462a1dfbd6b053a0867f149d;hpb=ef98584b41fa22425b74cfda39506d5f49bd34d0;p=userv.git diff --git a/Makefile.in b/Makefile.in index 315583b..9448969 100644 --- a/Makefile.in +++ b/Makefile.in @@ -64,7 +64,7 @@ daemon: daemon.o parserlexer.o ddebug.o lib.o lexer.l: language.i4 -client.o: config.h common.h pcsum.h +client.o: config.h common.h pcsum.h version.h daemon.o: config.h common.h pcsum.h daemon.h lib.h tokens.h @@ -76,9 +76,9 @@ parserlexer.o: lexer.c parser.c config.h common.h pcsum.h daemon.h lib.h tokens. # lexer.c #include's parser.c at the end. Blame flex. $(CC) -c $(CPPFLAGS) $(CFLAGS) lexer.c -o $@ -pcsum.h: common.h - md5sum common.h | perl -pe 's/../0x$$&,/g; s/,$$//;' \ - >pcsum.h.new && mv pcsum.h.new pcsum.h +pcsum.h: common.h version.h config.h config.status Makefile + cat $^ | md5sum | perl -pe 's/../0x$$&,/g; s/,$$//;' >pcsum.h.new + cmp pcsum.h.new pcsum.h || mv -f pcsum.h.new pcsum.h tokens.h: language.i4