summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
-rw-r--r--examples/.exclude1
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 666dae0..e6c8c33 100644
--- a/Makefile
+++ b/Makefile
@@ -9,11 +9,11 @@ EXCLUDE := $(addsuffix .vhd,$(EXCLUDE))
VHDLS = $(wildcard examples/*.vhd)
VHDLS := $(notdir $(VHDLS))
+DIFFOPT = --exclude=Makefile
+
ifndef WIP
VHDLS := $(filter-out $(EXCLUDE),$(VHDLS))
-DIFFOPT = --exclude-from=examples/.exclude
-else
-DIFFOPT = --exclude=Makefile
+DIFFOPT := $(DIFFOPT) --exclude-from=examples/.exclude
endif
all: diff
diff --git a/examples/.exclude b/examples/.exclude
index 458a443..fbffd05 100644
--- a/examples/.exclude
+++ b/examples/.exclude
@@ -1,4 +1,3 @@
-Makefile
todo.*
bigfile.*
for.*
OpenPOWER on IntegriCloud