diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-04-10 10:05:17 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-04-10 10:05:17 +0200 |
commit | fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e (patch) | |
tree | 47dbe6b20205c9faecee0217a863486e68ef253e /config.mk | |
parent | d1cee1d4ae545fdca995cd656ef52d8923aa77e9 (diff) | |
download | icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.tar.gz icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.tar.bz2 icestorm-fe3086a7339f0c2731fb1a14f6ef0e4d93a0377e.zip |
Support custom PROGRAM_PREFIX
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ PREFIX ?= /usr/local DEBUG ?= 0 ICEPROG ?= 1 +PROGRAM_PREFIX ?= CXX ?= clang++ CC ?= clang @@ -22,7 +23,7 @@ CFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(C_STD) -I$(PREF CXXFLAGS += -MD -O$(OPT_LEVEL) $(DBG_LEVEL) -W$(WARN_LEVEL) -std=$(CXX_STD) -I$(PREFIX)/include DESTDIR ?= -CHIPDB_SUBDIR ?= icebox +CHIPDB_SUBDIR ?= $(PROGRAM_PREFIX)icebox ifeq ($(MXE),1) EXE = .exe |