summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-01-25 22:08:11 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-01-25 22:08:11 +0000
commit388454cc3bbbe79e7e07d3ba1efc1de2d7126206 (patch)
tree7dccab14dd622a96c7021cdd690cd2a832e5fb17 /gmodule
parent20c9c609502314a807aec513a233d85474604d42 (diff)
makefile.mingw.in Protect the rule to rebuild makefile.mingw if
2001-01-25 Tor Lillqvist <tml@iki.fi> * makefile.mingw.in * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw if makefile.mingw.in has changed with a check if said .in file exists. (This rule is mainly a convenience for yours truly.)
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/makefile.mingw.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gmodule/makefile.mingw.in b/gmodule/makefile.mingw.in
index 58423f7a5..5ce374f1b 100644
--- a/gmodule/makefile.mingw.in
+++ b/gmodule/makefile.mingw.in
@@ -24,9 +24,11 @@ all : \
gmodule-$(GLIB_VER).dll \
testgmodule.exe
+ifeq ($(wildcard makefile.mingw.in),makefile.mingw.in)
makefile.mingw: makefile.mingw.in
sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
-e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
+endif
gmodule_OBJECTS = \
gmodule.o