aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-15 14:19:03 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-04-15 14:19:03 +0000
commit3ddf778a5baaf5e1e8c2b90bb46d0f5943dbd903 (patch)
treed46e90a7a5cdb165dc53bdd51bfc2b3a4e476749 /Makefile
parentca4c2b82b665d04219cf478048b2cd0fb369aba8 (diff)
downloadioquake3-aero-3ddf778a5baaf5e1e8c2b90bb46d0f5943dbd903.tar.gz
ioquake3-aero-3ddf778a5baaf5e1e8c2b90bb46d0f5943dbd903.zip
add nsis installer target for mingw32
git-svn-id: svn://svn.icculus.org/quake3/trunk@1321 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bf188b6..e27b942 100644
--- a/Makefile
+++ b/Makefile
@@ -149,6 +149,7 @@ Q3CPPDIR=$(MOUNT_DIR)/tools/lcc/cpp
Q3LCCETCDIR=$(MOUNT_DIR)/tools/lcc/etc
Q3LCCSRCDIR=$(MOUNT_DIR)/tools/lcc/src
LOKISETUPDIR=misc/setup
+NSISDIR=misc/nsis
SDLHDIR=$(MOUNT_DIR)/SDL12
LIBSDIR=$(MOUNT_DIR)/libs
TEMPDIR=/tmp
@@ -1947,7 +1948,11 @@ ifneq ($(BUILD_GAME_SO),0)
endif
clean: clean-debug clean-release
+ifeq ($(PLATFORM),mingw32)
+ @$(MAKE) -C $(NSISDIR) clean
+else
@$(MAKE) -C $(LOKISETUPDIR) clean
+endif
clean-debug:
@$(MAKE) clean2 B=$(BD)
@@ -1979,7 +1984,11 @@ distclean: clean toolsclean
@rm -rf $(BUILD_DIR)
installer: release
+ifeq ($(PLATFORM),mingw32)
+ @$(MAKE) VERSION=$(VERSION) -C $(NSISDIR) V=$(V)
+else
@$(MAKE) VERSION=$(VERSION) -C $(LOKISETUPDIR) V=$(V)
+endif
dist:
rm -rf ioquake3-$(SVN_VERSION)