r136 - in trunk/code/tools: . asm lcc
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Oct 4 14:34:21 EDT 2005
Author: tma
Date: 2005-10-04 14:34:21 -0400 (Tue, 04 Oct 2005)
New Revision: 136
Added:
trunk/code/tools/asm/
Removed:
trunk/code/tools/q3asm/
Modified:
trunk/code/tools/asm/Makefile
trunk/code/tools/lcc/makefile
Log:
* 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
Copied: trunk/code/tools/asm (from rev 134, trunk/code/tools/q3asm)
Modified: trunk/code/tools/asm/Makefile
===================================================================
--- trunk/code/tools/q3asm/Makefile 2005-10-04 15:18:22 UTC (rev 134)
+++ trunk/code/tools/asm/Makefile 2005-10-04 18:34:21 UTC (rev 136)
@@ -11,3 +11,8 @@
clean:
rm -f q3asm *~ *.o
+install: default
+ install -s -m 0755 q3asm ../
+
+uninstall:
+ -rm ../q3asm
Modified: trunk/code/tools/lcc/makefile
===================================================================
--- trunk/code/tools/lcc/makefile 2005-10-04 17:45:22 UTC (rev 135)
+++ trunk/code/tools/lcc/makefile 2005-10-04 18:34:21 UTC (rev 136)
@@ -231,22 +231,14 @@
$(RM) $Tyacc$E $Tyacc.s $Tyacc.2 $Tyacc.1
install:: all
- install -d /usr/local/lib/lcc
- install -d /usr/local/lib/lcc/gcc
- install $Bq3lcc$E /usr/local/bin
- 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
+ install -s -m 0755 $Bq3lcc$E ../
+ install -s -m 0755 $Bq3cpp$E ../
+ install -s -m 0755 $Bq3rcc$E ../
uninstall::
- $(RM) /usr/local/lib/lcc/librcc$A
- $(RM) /usr/local/lib/lcc/liblcc$A
- $(RM) /usr/local/lib/lcc/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
+ -$(RM) ../q3lcc$E
+ -$(RM) ../q3cpp$E
+ -$(RM) ../q3rcc$E
clean:: testclean
$(RM) $B*$O
More information about the quake3-commits
mailing list