2006-12-27 13:44:46 -08:00
|
|
|
INSTALLERFILE=warzone2100-$(VERSION).exe
|
|
|
|
|
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
|
|
|
|
|
|
|
$(INSTALLERFILE): warzone2100.nsi ../src/warzone2100.exe ../data/warzone.wz ../data/mp.wz ../data/grim.wz
|
|
|
|
$(MAKENSIS) "/DVERSION=$(VERSION)" "/DVERSIONNUM=$(INSTALLER_VERSION)" "/DLIBDIR=$(INSTALLER_LIBDIR)" $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(INSTALLERFILE)
|