warzone2100/nsis/Makefile.raw

17 lines
389 B
Makefile

MAKERULES=../makerules
include $(MAKERULES)/configure.mk
ifeq ($(strip $(PLATFORM)),windows)
SETUPFILE=warzone2100-$(VERSION).exe
all: $(SETUPFILE)
$(SETUPFILE): warzone2100.nsi ../src/warzone2100.exe ../data/warzone.wz ../data/mp.wz ../data/grim.wz
$(MAKENSIS) "/DVERSION=$(VERSION)" "/DVERSIONNUM=$(INSTALLER_VERSION)" "/DLIBDIR=$(DEVDIR)\lib" $<
clean:
$(RM) $(SETUPFILE)
endif