* 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
This commit is contained in:
1 parent
c3f30ff9a8
commit
e414f46c4d
14 files changed
+11
-14
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user