From 37227e2b18c7dffa6ce881632b1cdf40f3b8c3d8 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 31 Aug 2019 14:03:14 +0000 Subject: Make iceprog optional. Avoids dependency on libftdi. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3