makefile-engine: use $(CC) and $(CXX) instead of gcc and g++.

* so that one can build with clang.
This commit is contained in:
Jérôme Duval 2017-01-24 17:30:36 +01:00
parent 970591cb2d
commit cdf894ce17
1 changed files with 3 additions and 3 deletions

View File

@ -35,8 +35,8 @@ endif
MIMESET := mimeset
XRES := xres
RESCOMP := rc
CC := gcc
C++ := g++
CC := $(CC)
C++ := $(CXX)
# Set up CFLAGS.
ifeq ($(strip $(TYPE)), DRIVER)
@ -79,7 +79,7 @@ endif
# Set up the linker & linker flags.
ifeq ($(origin LD), default)
LD := gcc
LD := $(CC)
endif
LDFLAGS += $(DEBUG)