Allow CC to be defined other than gcc. If not defined, use gcc as default.

This commit is contained in:
Ari Lemmetti 2014-10-23 12:59:49 +03:00
parent fcb6fa6d4b
commit 20967cfafe

View file

@ -62,7 +62,9 @@ WARNINGS = -Wall -Wtype-limits -Wvla
INCLUDEDIRS = -I. -I./strategies -I./extras
CC = gcc
ifndef CC
CC = gcc
endif
CCFLAGS = $(DFLAGS) -std=gnu99 $(INCLUDEDIRS) $(WARNINGS)
LDFLAGS += -lm -pthread
LD = gcc