From 964c631d8b5a7a650b4c84ec7a8619d1475a0621 Mon Sep 17 00:00:00 2001 From: Harry Young Date: Tue, 13 Dec 2011 13:38:36 +0100 Subject: [PATCH] Modified Makefile Added an Installpath and Parameter for my purposes removed allclean as that can be done with 'make clean all' --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 497d292..108cf14 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ # option -RPGXDIR="/c/Program Files/Raven/Star Trek Voyager Elite Force/RPG-X2" +RPGXDIRDEFAULT="/c/Program Files/Raven/Star Trek Voyager Elite Force/RPG-X2" +RPGXDIRYOUNG="/d/games/eliteforce/build-engine/RPG-X2" # determine arch and platform ARCH=$(shell uname -m | sed -e s/i.86/i386/) @@ -33,8 +34,13 @@ allclean: clean all -# install shared libs (NOTE: $(RPGXDIR) has to be exported in the shell as variable) +# install shared libs (NOTE: $(RPGXDIRXXX) has to be exported in the shell as variable) install: - mv game/qagame$(ARCH).$(EXT) $(RPGXDIR) - mv cgame/cgame$(ARCH).$(EXT) $(RPGXDIR) - mv ui/ui$(ARCH).$(EXT) $(RPGXDIR) \ No newline at end of file + mv game/qagame$(ARCH).$(EXT) $(RPGXDIRDEFAULT) + mv cgame/cgame$(ARCH).$(EXT) $(RPGXDIRDEFAULT) + mv ui/ui$(ARCH).$(EXT) $(RPGXDIRDEFAULT) + +installyoung: + mv game/qagame$(ARCH).$(EXT) $(RPGXDIRYOUNG) + mv cgame/cgame$(ARCH).$(EXT) $(RPGXDIRYOUNG) + mv ui/ui$(ARCH).$(EXT) $(RPGXDIRYOUNG) \ No newline at end of file