aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/asm/Makefile
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 18:34:21 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-04 18:34:21 +0000
commit5406eab4f3e101162b2d8c9ef4e9ea66333e2462 (patch)
treee0c955134d3be535e7dc4c3423b7351e8cfd63d7 /code/tools/asm/Makefile
parent1f56a39f925eba4140d78883fb646f17aeab9e54 (diff)
downloadioquake3-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/asm/Makefile')
-rw-r--r--code/tools/asm/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/code/tools/asm/Makefile b/code/tools/asm/Makefile
new file mode 100644
index 0000000..67bfbd4
--- /dev/null
+++ b/code/tools/asm/Makefile
@@ -0,0 +1,18 @@
+# yeah, couldn't do more simple really
+
+CC=gcc
+CFLAGS=-O2 -Wall -Werror -fno-strict-aliasing
+
+default: q3asm
+
+q3asm: q3asm.c cmdlib.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ rm -f q3asm *~ *.o
+
+install: default
+ install -s -m 0755 q3asm ../
+
+uninstall:
+ -rm ../q3asm