mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
use CC ?= because clang crashes on me
This commit is contained in:
parent
522738de48
commit
ef024e5b80
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -1,4 +1,4 @@
|
|||
CC = clang
|
||||
CC ?= clang
|
||||
CFLAGS += -Wall
|
||||
OBJ = main.o \
|
||||
lex.o \
|
||||
|
@ -7,7 +7,9 @@ OBJ = main.o \
|
|||
typedef.o \
|
||||
util.o \
|
||||
code.o \
|
||||
asm.c
|
||||
asm.c \
|
||||
ast.c \
|
||||
ir.c
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -c $< -o $@ $(CFLAGS)
|
||||
|
|
Loading…
Reference in a new issue