From bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 20 Aug 2012 13:57:07 +0200 Subject: o Fixing broken USB wires. --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3d1962d --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +NAME=lpc1343-breakout + +all: $(NAME).pdf $(NAME)-Front.pdf $(NAME)-Back.pdf + +clean: + rm -rf $(KICAD_TARGETS_CLEAN) + +# Generic +PCBNEW ?= pcbnew +PCBNEW_OPTS ?= --plot=ps --plot-fill-all-zones +EESCHEMA ?= eeschema + +KICAD_TARGETS_CLEAN = $(NAME)-Front.pdf $(NAME)-Back.pdf + +%.pdf: %.ps + ps2pdf $< + +%.ps: %.brd + $(EESCHEMA) --plot=ps $< + +%-Front.ps: %.brd + $(PCBNEW) $(PCBNEW_OPTS) --layers=Front --plot-mirror $< + +%-Back.ps: %.brd + $(PCBNEW) $(PCBNEW_OPTS) --layers=Back $< -- cgit v1.2.3