Make CC and LD configurable

This commit is contained in:
Alexander Scheuermann 2016-08-13 23:24:11 +02:00
parent 3cfdb878dd
commit 6bb007b75f

View File

@ -21,8 +21,8 @@ MAC_CFLAGS=-O2 -fno-common $(WARN) $(INCDIR) $(DEFS)
MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR)
INSTALL = install
CC = cc
LD = $(MYENV) cc
CC ?= cc
LD ?= $(MYENV) cc
CFLAGS += $(MYCFLAGS)
LDFLAGS += $(MYLDFLAGS)