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