diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-08-20 13:57:07 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-08-20 13:57:14 +0200 |
commit | bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0 (patch) | |
tree | ca8e81af94b0848b8874261678ecf59bb6fb8449 /Makefile | |
parent | 4c75780918e493f7b0ee3b2c91251d77234af4c2 (diff) | |
download | lpc1343-breakout-bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0.tar.gz lpc1343-breakout-bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0.tar.bz2 lpc1343-breakout-bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0.tar.xz lpc1343-breakout-bfeb09aef5d427edf4ea4e70e67b0eda7e4249f0.zip |
o Fixing broken USB wires.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
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 $< |