From ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48 Mon Sep 17 00:00:00 2001 From: Elvira Khabirova Date: Sun, 12 Feb 2017 02:50:15 +0300 Subject: Clean up Makefiles --- icetime/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icetime') diff --git a/icetime/Makefile b/icetime/Makefile index cfa7ff0..f30a42a 100644 --- a/icetime/Makefile +++ b/icetime/Makefile @@ -1,6 +1,6 @@ include ../config.mk LDLIBS = -lm -lstdc++ -CXXFLAGS = -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"$(PREFIX)"' -DCHIPDB_SUBDIR='"$(CHIPDB_SUBDIR)"' +override CXXFLAGS += -DPREFIX='"$(PREFIX)"' -DCHIPDB_SUBDIR='"$(CHIPDB_SUBDIR)"' ifeq ($(STATIC),1) LDFLAGS += -static @@ -9,7 +9,7 @@ endif all: icetime$(EXE) icetime$(EXE): icetime.o - $(CC) -o $@ $(LDFLAGS) $^ $(LDLIBS) + $(CXX) -o $@ $(LDFLAGS) $^ $(LDLIBS) icetime.o: icetime.cc timings.inc -- cgit v1.2.3