tup: default CC to clang;

This commit is contained in:
bjornbytes 2020-11-21 14:14:22 -07:00
parent 842efe36c7
commit 71456dce6e
1 changed files with 4 additions and 0 deletions

View File

@ -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