aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-08-31 21:54:45 +0200
committerGitHub <noreply@github.com>2019-08-31 21:54:45 +0200
commit04f1eb78ed8fd50516aee50102675041a8fd40cd (patch)
tree38388076bb73c740c402f44fe78f2b7b63d9c083 /Makefile
parent95949315364f8d9b0c693386aefadf44b28e2cf6 (diff)
parent37227e2b18c7dffa6ce881632b1cdf40f3b8c3d8 (diff)
downloadicestorm-04f1eb78ed8fd50516aee50102675041a8fd40cd.tar.gz
icestorm-04f1eb78ed8fd50516aee50102675041a8fd40cd.tar.bz2
icestorm-04f1eb78ed8fd50516aee50102675041a8fd40cd.zip
Merge pull request #235 from whitequark/master
Make iceprog optional
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a95087..77e01fd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
-SUBDIRS = icebox icepack iceprog icemulti icepll icetime icebram
-
include config.mk
+SUBDIRS := icebox icepack icemulti icepll icebram icetime
+ifeq ($(ICEPROG),1)
+SUBDIRS += iceprog
+endif
+
all: $(addsuffix .all,$(SUBDIRS))
$(addsuffix .all,$(SUBDIRS)):
$(MAKE) -C $(basename $@) all