mirror of https://github.com/bjornbytes/lovr.git
tup: default CC to clang;
This commit is contained in:
parent
842efe36c7
commit
71456dce6e
|
@ -1,7 +1,11 @@
|
|||
ROOT = $(TUP_CWD)
|
||||
|
||||
## Base
|
||||
ifeq (@(CC),)
|
||||
CC = clang
|
||||
else
|
||||
CC = @(CC)
|
||||
endif
|
||||
CFLAGS += -std=c99 -pedantic
|
||||
CFLAGS += -D_POSIX_C_SOURCE=200809L
|
||||
CFLAGS += -I$(ROOT)/src
|
||||
|
|
Loading…
Reference in New Issue