aboutsummaryrefslogtreecommitdiffstats
path: root/icetime
diff options
context:
space:
mode:
authorElvira Khabirova <lineprinter0@gmail.com>2017-02-12 02:50:15 +0300
committerElvira Khabirova <lineprinter0@gmail.com>2017-02-12 16:13:03 +0300
commitea82010fbfe1e306bb3d7fbd29057c0dc5c77e48 (patch)
tree90342bc017b209e47c9cf63f36808e10365e2634 /icetime
parent40eb5c03fdc1aaa493a40252e35de9b18f6db975 (diff)
downloadicestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.gz
icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.tar.bz2
icestorm-ea82010fbfe1e306bb3d7fbd29057c0dc5c77e48.zip
Clean up Makefiles
Diffstat (limited to 'icetime')
-rw-r--r--icetime/Makefile4
1 files changed, 2 insertions, 2 deletions
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