mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 14:11:15 +00:00
* Added install/uninstall rules to the lcc and q3asm Makefiles
* Moved the q3asm dir to asm so that is doesn't clash with the binary when installed
This commit is contained in:
parent
c3f30ff9a8
commit
e414f46c4d
14 changed files with 11 additions and 14 deletions
|
@ -11,3 +11,8 @@ q3asm: q3asm.c cmdlib.c
|
||||||
clean:
|
clean:
|
||||||
rm -f q3asm *~ *.o
|
rm -f q3asm *~ *.o
|
||||||
|
|
||||||
|
install: default
|
||||||
|
install -s -m 0755 q3asm ../
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
-rm ../q3asm
|
|
@ -231,22 +231,14 @@ testclean:
|
||||||
$(RM) $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
|
$(RM) $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
|
||||||
|
|
||||||
install:: all
|
install:: all
|
||||||
install -d /usr/local/lib/lcc
|
install -s -m 0755 $Bq3lcc$E ../
|
||||||
install -d /usr/local/lib/lcc/gcc
|
install -s -m 0755 $Bq3cpp$E ../
|
||||||
install $Bq3lcc$E /usr/local/bin
|
install -s -m 0755 $Bq3rcc$E ../
|
||||||
install $Bq3cpp$E /usr/local/lib/lcc/gcc
|
|
||||||
install $Bq3rcc$E /usr/local/lib/lcc
|
|
||||||
install $Bliblcc$A /usr/local/lib/lcc
|
|
||||||
install $Blibrcc$A /usr/local/lib/lcc
|
|
||||||
|
|
||||||
uninstall::
|
uninstall::
|
||||||
$(RM) /usr/local/lib/lcc/librcc$A
|
-$(RM) ../q3lcc$E
|
||||||
$(RM) /usr/local/lib/lcc/liblcc$A
|
-$(RM) ../q3cpp$E
|
||||||
$(RM) /usr/local/lib/lcc/q3rcc$E
|
-$(RM) ../q3rcc$E
|
||||||
$(RM) /usr/local/lib/lcc/gcc/q3cpp$E
|
|
||||||
$(RM) /usr/local/bin/lcc$E
|
|
||||||
$(RMDIR) /usr/local/lib/lcc/gcc
|
|
||||||
$(RMDIR) /usr/local/lib/lcc
|
|
||||||
|
|
||||||
clean:: testclean
|
clean:: testclean
|
||||||
$(RM) $B*$O
|
$(RM) $B*$O
|
||||||
|
|
Loading…
Reference in a new issue