diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-04 18:34:21 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-04 18:34:21 +0000 |
commit | 5406eab4f3e101162b2d8c9ef4e9ea66333e2462 (patch) | |
tree | e0c955134d3be535e7dc4c3423b7351e8cfd63d7 /code/tools/lcc | |
parent | 1f56a39f925eba4140d78883fb646f17aeab9e54 (diff) | |
download | ioquake3-aero-5406eab4f3e101162b2d8c9ef4e9ea66333e2462.tar.gz ioquake3-aero-5406eab4f3e101162b2d8c9ef4e9ea66333e2462.zip |
* 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
git-svn-id: svn://svn.icculus.org/quake3/trunk@136 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/tools/lcc')
-rw-r--r-- | code/tools/lcc/makefile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/code/tools/lcc/makefile b/code/tools/lcc/makefile index 26efed4..178e86c 100644 --- a/code/tools/lcc/makefile +++ b/code/tools/lcc/makefile @@ -231,22 +231,14 @@ testclean: $(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 |