summaryrefslogtreecommitdiff
path: root/bbxm
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-10-26 18:43:52 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-10-26 18:43:52 (GMT)
commitd2569c48f845e05cc5e0cbc1581bc4ffa3f63528 (patch)
treef7c3849a468cc538449476e3693e9bc0f08eb7cb /bbxm
parent7b83bd97f855b0fc4a0544657e99f5a9fd66b7ab (diff)
downloadmisc-d2569c48f845e05cc5e0cbc1581bc4ffa3f63528.zip
misc-d2569c48f845e05cc5e0cbc1581bc4ffa3f63528.tar.gz
misc-d2569c48f845e05cc5e0cbc1581bc4ffa3f63528.tar.bz2
bbxm/Makefile (all): show all copper ("view" still only shows outer layers)
Diffstat (limited to 'bbxm')
-rw-r--r--bbxm/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/bbxm/Makefile b/bbxm/Makefile
index bf9bba5..6cddc79 100644
--- a/bbxm/Makefile
+++ b/bbxm/Makefile
@@ -8,11 +8,16 @@ BB_URL = https://beagleboard.org/static/$(BB_ALL)
BB_GERB = BEAGLE-xM_Gerber.zip
GERB = ctctslk ctclyr1 ctclyr6 ctcbslk
+GERB_ALL = ctctslk ctclyr1 ctclyr2 ctclyr3 ctclyr4 ctclyr5 ctclyr6 ctcbslk
DRL = 1-2 1-3 1-6
.PHONY: all view clean spotless
-all: view
+all: $(DRL:%=$(D)/ncdrl-%.drl) $(GERB_ALL:%=$(D)/%.063)
+ $(VIEWER) $(^:%=`pwd`/%)
+
+view: $(DRL:%=$(D)/ncdrl-%.drl) $(GERB:%=$(D)/%.063)
+ $(VIEWER) $(^:%=`pwd`/%)
$(BB_ALL):
wget $(BB_URL) || { rm -f $(BB_ALL); exit 1; }
@@ -27,9 +32,6 @@ $(DRL:%=$(D)/ncdrill-%.drl) $(GERB:%=$(D)/%.063): $(D)/$(BB_GERB)
$(D)/ncdrl%: $(D)/ncdrill%
./fixdrl $< >$@ || { rm -f $@; exit 1; }
-view: $(DRL:%=$(D)/ncdrl-%.drl) $(GERB:%=$(D)/%.063)
- $(VIEWER) $(^:%=`pwd`/%)
-
clean:
rm -rf $(D)