dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f7689
)
Added rule that can be used to avoid unnecessary recompilation of
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 16:07:07 +0000
(16:07 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Fri, 16 Aug 2002 16:07:07 +0000
(16:07 +0000)
lex files.
Makefile.inc
patch
|
blob
|
history
diff --git
a/Makefile.inc
b/Makefile.inc
index f86ad01d7b2867f6d5869c446567a5b52557c61a..a8e17c75fc46f4b0a44b05296e7448c6b214cbdb 100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-1,4
+1,4
@@
-## File to include in other Makefile's, defining common commands
+## File to include in other Makefile's, defining common commands
and rules
# $Id$
# $Name$
@@
-10,3
+10,14
@@
define replace-VERSION
mv $$file.new $$file; \
done
endef
+
+%.tabgen.h: %.tab.h
+ if [ ! -r $@ ] ; \
+ then \
+ touch $@; \
+ fi
+ if ! diff -q $< $@ > /dev/null; \
+ then \
+ rm $@; \
+ cp $< $@; \
+ fi