aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolra Bizna <solra@bizna.name>2020-05-09 02:40:08 -0600
committerSolra Bizna <solra@bizna.name>2020-05-09 02:40:08 -0600
commit41f75569e34ce5cdfa50342b1c1e4699f16b2c03 (patch)
tree1483ec0e8e6626e9b6c0deecb49844afb2434572
parentcd2610e0fa1c6a90e8e4e4cfe06db1b474e752bb (diff)
downloadicestorm-41f75569e34ce5cdfa50342b1c1e4699f16b2c03.tar.gz
icestorm-41f75569e34ce5cdfa50342b1c1e4699f16b2c03.tar.bz2
icestorm-41f75569e34ce5cdfa50342b1c1e4699f16b2c03.zip
Add -MP to CFLAGS and CXXFLAGS, making it harder for make to get confused out of even trying to build
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 9cb7793..c7f80a3 100644
--- a/config.mk
+++ b/config.mk
@@ -19,8 +19,8 @@ endif
WARN_LEVEL ?= all
LDLIBS = -lm -lstdc++
-CFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(C_STD) -I$(PREFIX)/include
-CXXFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(CXX_STD) -I$(PREFIX)/include
+CFLAGS += -MD -MP -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(C_STD) -I$(PREFIX)/include
+CXXFLAGS += -MD -MP -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(CXX_STD) -I$(PREFIX)/include
DESTDIR ?=
CHIPDB_SUBDIR ?= $(PROGRAM_PREFIX)icebox