* 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:
parent
c3f30ff9a8
commit
e414f46c4d
14 changed files with 11 additions and 14 deletions
18
code/tools/asm/Makefile
Normal file
18
code/tools/asm/Makefile
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue