2007-06-22 09:01:46 -07:00
|
|
|
INSTALLERFILE=$(PACKAGE)-$(VERSION).exe
|
|
|
|
UPDATERFILE=$(PACKAGE)-$(VERSION).update.exe
|
2006-12-27 13:44:46 -08:00
|
|
|
|
2007-02-15 07:36:25 -08:00
|
|
|
CLEANFILES=$(INSTALLERFILE)
|
|
|
|
|
2007-01-08 17:28:01 -08:00
|
|
|
if INSTALLER
|
2006-12-27 13:44:46 -08:00
|
|
|
all: $(INSTALLERFILE)
|
2007-01-08 17:28:01 -08:00
|
|
|
endif
|
2006-12-27 13:44:46 -08:00
|
|
|
|
2007-06-22 09:01:46 -07:00
|
|
|
data:
|
|
|
|
$(MAKE) -C ../data/ data
|
|
|
|
|
|
|
|
$(INSTALLERFILE): warzone2100.nsi ../src/warzone2100.exe data
|
|
|
|
$(MAKENSIS) -DVERSION="$(VERSION)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" $<
|
|
|
|
|
|
|
|
$(UPDATERFILE): warzone2100.update.nsi
|
|
|
|
$(MAKENSIS) -DVERSION="$(VERSION)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(INSTALLER_EXTDIR)" $<
|