diff -r 066e557ac453 -r 4b52e95a0104 update/Makefile.am --- a/update/Makefile.am Fri Apr 15 13:05:48 2016 +0100 +++ b/update/Makefile.am Thu Jul 07 19:03:54 2016 +0100 @@ -3,20 +3,28 @@ INCLUDES=-I$(top_srcdir) CCLD = $(CXX) -bin_PROGRAMS=update +bin_PROGRAMS=update updatez bin_SCRIPTS=update.js update_SOURCES=update.c update_LDFLAGS=-all-static update_LIBTOOLFLAGS=--tag=CXX if HAVE_WINDRES -update_SOURCES+=resources.rc update.exe.manifest +update_SOURCES+=update-res.rc update.exe.manifest +endif + +updatez_SOURCES=updatez.c +updatez_LDFLAGS=-all-static +updatez_LIBTOOLFLAGS=--tag=CXX +if HAVE_WINDRES +updatez_SOURCES+=updatez-res.rc updatez.exe.manifest endif .rc.$(OBJEXT): - $(AM_V_GEN)$(WINDRES) resources.rc $@ + $(AM_V_GEN)$(WINDRES) $< $@ -resources.$(OBJEXT): resources.rc update.exe.manifest update.ico +update-res.$(OBJEXT): update-res.rc update.exe.manifest update.ico +updatez-res.$(OBJEXT): updatez-res.rc updatez.exe.manifest update.ico %.js: $(srcdir)/%.js.in $(AM_V_GEN)sed -e 's/$$/\r/' $(srcdir)/$@.in > $@