mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +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
|
CFLAGS += -Wall
|
||||||
OBJ = main.o \
|
OBJ = main.o \
|
||||||
lex.o \
|
lex.o \
|
||||||
|
@ -7,7 +7,9 @@ OBJ = main.o \
|
||||||
typedef.o \
|
typedef.o \
|
||||||
util.o \
|
util.o \
|
||||||
code.o \
|
code.o \
|
||||||
asm.c
|
asm.c \
|
||||||
|
ast.c \
|
||||||
|
ir.c
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) -c $< -o $@ $(CFLAGS)
|
$(CC) -c $< -o $@ $(CFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue