mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
lib|rules.mk: Move Windows resource file creation into rules.mk
Move rule for creation of windows resource files into rules.mk, because it's needed outside of the lib subdir.
This commit is contained in:
parent
f30c753495
commit
3a9e97e677
2 changed files with 12 additions and 12 deletions
12
make/lib.mk
12
make/lib.mk
|
|
@ -72,18 +72,6 @@ echo.contrib-libs:
|
|||
@echo CONTRIB_LIBS = $(CONTRIB_LIBS)
|
||||
|
||||
ifeq ($(TARGET),mingw)
|
||||
$(WINRES_RC): $(WINRES_RC_TMPL)
|
||||
cat $< | sed " \
|
||||
s/__VER_FILEVERSION__/$(MAJOR_VERSION),$(MINOR_VERSION),$(RELEASE_VERSION),$(BUILD_NUMBER)/; \
|
||||
s/__VER_FILEVERSION_STR__/$(MAJOR_VERSION).$(MINOR_VERSION).$(RELEASE_VERSION).$(BUILD_NUMBER)/; \
|
||||
s/__VER_DESCRIPTION__/\"$(PROJECT_DESCR)\"/; \
|
||||
s/__VER_COMPANY_NAME__/\"$(CUSTOMER)\"/; \
|
||||
" > $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
$(WINRES_O): $(WINRES_RC)
|
||||
$(WINDRES) $^ -o $@
|
||||
|
||||
clean.winres:
|
||||
rm -f $(WINRES_RC) $(WINRES_O) *.tmp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue