mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
Merge branch 'master' into test-suite
Conflicts: Makefile
This commit is contained in:
commit
d1fd7d044b
1 changed files with 14 additions and 1 deletions
15
Makefile
15
Makefile
|
@ -1,3 +1,7 @@
|
|||
DESTDIR :=
|
||||
PREFIX := /usr/local
|
||||
BINDIR := $(PREFIX)/bin
|
||||
|
||||
CC ?= clang
|
||||
CFLAGS += -Wall -I. -fomit-frame-pointer -fno-stack-protector -fno-common
|
||||
#turn on tons of warnings if clang is present
|
||||
|
@ -54,9 +58,18 @@ all: gmqcc qcvm test
|
|||
|
||||
clean:
|
||||
rm -f *.o gmqcc qcvm test *.dat
|
||||
|
||||
|
||||
|
||||
$(OBJ) $(OBJ_C) $(OBJ_X): gmqcc.h
|
||||
main.o: lexer.h
|
||||
parser.o: ast.h lexer.h
|
||||
ast.o: ast.h ir.h
|
||||
ir.o: ir.h
|
||||
|
||||
install: install-gmqcc install-qcvm
|
||||
install-gmqcc: gmqcc
|
||||
install -d -m755 $(DESTDIR)$(BINDIR)
|
||||
install -m755 gmqcc $(DESTDIR)$(BINDIR)/gmqcc
|
||||
install-qcvm: qcvm
|
||||
install -d -m755 $(DESTDIR)$(BINDIR)
|
||||
install -m755 qcvm $(DESTDIR)$(BINDIR)/qcvm
|
||||
|
|
Loading…
Reference in a new issue