Make iceprog optional.

Avoids dependency on libftdi.
This commit is contained in:
whitequark 2019-08-31 14:03:14 +00:00
parent 9594931536
commit 37227e2b18
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -1,5 +1,6 @@
PREFIX ?= /usr/local
DEBUG ?= 0
ICEPROG ?= 1
CXX ?= clang++
CC ?= clang