summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-08-20 18:26:19 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-08-20 18:26:19 +0200
commitdc8819ce2e5117eff757f701540f4cd4feac8107 (patch)
tree1fac7f9e2f937a2e4fba2c774383832931792757 /Makefile
parentb228d0d5a0a8b4386256201d2533c6b61577b6af (diff)
downloadlpc1343-breakout-dc8819ce2e5117eff757f701540f4cd4feac8107.tar.gz
lpc1343-breakout-dc8819ce2e5117eff757f701540f4cd4feac8107.tar.bz2
lpc1343-breakout-dc8819ce2e5117eff757f701540f4cd4feac8107.tar.xz
lpc1343-breakout-dc8819ce2e5117eff757f701540f4cd4feac8107.zip
o Fixing DRC error.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 3 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index 97e56bc..64c5a54 100644
--- a/Makefile
+++ b/Makefile
@@ -1,33 +1,7 @@
NAME=lpc1343-breakout
-all: $(NAME).pdf $(NAME)-Front.pdf $(NAME)-Back.pdf kicad-check
+all: kicad-pdfs
-clean:
- rm -rf $(KICAD_TARGETS_CLEAN)
+clean: kicad-clean
-# Generic
-PCBNEW ?= pcbnew
-PCBNEW_OPTS ?= --plot=ps --plot-fill-all-zones
-EESCHEMA ?= eeschema
-
-KICAD_TARGETS_CLEAN = $(NAME).erc $(NAME).rpt $(NAME)-schema.pdf $(NAME)-board-Front.pdf $(NAME)-board-Back.pdf
-
-kicad-check: $(NAME).erc $(NAME).rpt
-
-%.pdf: %.ps
- ps2pdf $<
-
-%-schema.ps: %.sch
- $(EESCHEMA) --plot=ps $<
-
-%-board-Front.ps: %.brd
- $(PCBNEW) $(PCBNEW_OPTS) --layers=Front --plot-mirror $<
-
-%-board-Back.ps: %.brd
- $(PCBNEW) $(PCBNEW_OPTS) --layers=Back $<
-
-%.erc: %.sch
- $(EESCHEMA) --erc $(NAME).sch
-
-%.rpt: %.brd
- $(EESCHEMA) --plot=ps $<
+-include Makefile.kicad