18 lines
414 B
Makefile
18 lines
414 B
Makefile
MAKERULES=../makerules
|
|
include $(MAKERULES)/configure.mk
|
|
|
|
SETUPFILE=warzone2100-$(VERSION).exe
|
|
|
|
all:
|
|
ifdef INSTALLER
|
|
ifeq ($(strip $(PLATFORM)),windows)
|
|
all: $(SETUPFILE)
|
|
endif
|
|
endif
|
|
|
|
$(SETUPFILE): warzone2100.nsi ../src/warzone2100.exe ../data/warzone.wz ../data/mp.wz ../data/grim.wz
|
|
$(MAKENSIS) -DVERSION="$(VERSION)" -DVERSIONNUM="$(INSTALLER_VERSION)" -DEXTDIR="$(DEVDIR)\bin" $<
|
|
|
|
clean:
|
|
$(RM) $(SETUPFILE)
|