mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-21 12:01:12 +00:00
Modified Makefile
Added an Installpath and Parameter for my purposes removed allclean as that can be done with 'make clean all'
This commit is contained in:
parent
1236ad50b4
commit
964c631d8b
1 changed files with 11 additions and 5 deletions
16
Makefile
16
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)
|
||||
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)
|
Loading…
Reference in a new issue