2006-12-27 05:35:10 -08:00
|
|
|
MAKERULES=../makerules
|
|
|
|
include $(MAKERULES)/configure.mk
|
|
|
|
|
2006-12-27 07:48:28 -08:00
|
|
|
SETUPFILE=warzone2100-$(VERSION).exe
|
2006-12-27 05:35:10 -08:00
|
|
|
|
2007-01-08 17:28:01 -08:00
|
|
|
all:
|
|
|
|
ifdef INSTALLER
|
2006-12-28 03:47:58 -08:00
|
|
|
ifeq ($(strip $(PLATFORM)),windows)
|
2006-12-27 05:35:10 -08:00
|
|
|
all: $(SETUPFILE)
|
2006-12-28 03:47:58 -08:00
|
|
|
endif
|
2007-01-08 17:28:01 -08:00
|
|
|
endif
|
2006-12-27 05:35:10 -08:00
|
|
|
|
2007-08-17 12:09:37 -07:00
|
|
|
$(SETUPFILE): warzone2100.nsi ../src/warzone2100.exe ../data/warzone.wz ../data/mp.wz ../data/mods/global/grim.wz
|
2007-09-25 09:11:24 -07:00
|
|
|
$(MAKENSIS) -DPACKAGE="$(PACKAGE)" -DPACKAGE_NAME="$(PACKAGE_NAME)" -DPACKAGE_VERSION="$(VERSION)" -DPACKAGE_BUGREPORT="$(PACKAGE_BUGREPORT)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(DEVDIR)\bin" -DLOCALEDIR=$(LOCALEDIR) $<
|
2006-12-27 05:35:10 -08:00
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) $(SETUPFILE)
|