From 5406eab4f3e101162b2d8c9ef4e9ea66333e2462 Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 4 Oct 2005 18:34:21 +0000 Subject: * 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 --- code/tools/asm/Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 code/tools/asm/Makefile (limited to 'code/tools/asm/Makefile') 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 -- cgit v1.2.3