aboutsummaryrefslogtreecommitdiffstats
path: root/code/tools/asm/Makefile
diff options
context:
space:
mode:
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