1.1 --- a/update/Makefile.am Fri Apr 15 13:05:48 2016 +0100
1.2 +++ b/update/Makefile.am Fri Jul 08 08:33:44 2016 +0100
1.3 @@ -3,20 +3,28 @@
1.4 INCLUDES=-I$(top_srcdir)
1.5 CCLD = $(CXX)
1.6
1.7 -bin_PROGRAMS=update
1.8 +bin_PROGRAMS=update updatez
1.9 bin_SCRIPTS=update.js
1.10
1.11 update_SOURCES=update.c
1.12 update_LDFLAGS=-all-static
1.13 update_LIBTOOLFLAGS=--tag=CXX
1.14 if HAVE_WINDRES
1.15 -update_SOURCES+=resources.rc update.exe.manifest
1.16 +update_SOURCES+=update-res.rc update.exe.manifest
1.17 +endif
1.18 +
1.19 +updatez_SOURCES=updatez.c
1.20 +updatez_LDFLAGS=-all-static
1.21 +updatez_LIBTOOLFLAGS=--tag=CXX
1.22 +if HAVE_WINDRES
1.23 +updatez_SOURCES+=updatez-res.rc updatez.exe.manifest
1.24 endif
1.25
1.26 .rc.$(OBJEXT):
1.27 - $(AM_V_GEN)$(WINDRES) resources.rc $@
1.28 + $(AM_V_GEN)$(WINDRES) $< $@
1.29
1.30 -resources.$(OBJEXT): resources.rc update.exe.manifest update.ico
1.31 +update-res.$(OBJEXT): update-res.rc update.exe.manifest update.ico
1.32 +updatez-res.$(OBJEXT): updatez-res.rc updatez.exe.manifest update.ico
1.33
1.34 %.js: $(srcdir)/%.js.in
1.35 $(AM_V_GEN)sed -e 's/$$/\r/' $(srcdir)/$@.in > $@