Different resource rule approach

The last change fixed the warnings, but broke the build.
This reintroduces some warnings, but fixes the build again.
This commit is contained in:
Michael Schumacher 2011-04-15 21:55:34 +02:00
parent 84c75da338
commit 88b916a4ab
2 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
# Version resources for Microsoft Windows
SUFFIXES = .rc .rc.o
GIMPPLUGINRC = $(top_srcdir)/build/windows/gimp-plug-ins.rc
.rc.rc.o: $(top_srcdir)/build/windows/gimp-plug-ins.rc
%.rc.o:
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
-I$(top_srcdir)/app \
$< $@
$(GIMPPLUGINRC) $@

View File

@ -1,10 +1,10 @@
# Version resources for Microsoft Windows
SUFFIXES = .rc .rc.o
GIMPAPPRC = $(top_srcdir)/build/windows/gimp.rc
.rc.rc.o: $(top_srcdir)/build/windows/gimp.rc
%.rc.o:
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
-I$(top_srcdir)/app \
$< $@
$(GIMPAPPRC) $@