mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-23 22:42:49 +02:00
uart/Makefile: forgot to commit this one. oopsie.
This commit is contained in:
parent
979be291e3
commit
0ec7bb4ab5
31
uart/Makefile
Normal file
31
uart/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
||||
|
||||
NAME = uart
|
||||
|
||||
.PHONY: all sch brd front back clean
|
||||
|
||||
all:
|
||||
@echo "make what ? target: sch brd front back clean"
|
||||
@exit 1
|
||||
|
||||
sch:
|
||||
eeschema `pwd`/$(NAME).sch
|
||||
|
||||
brd:
|
||||
pcbnew `pwd`/$(NAME).brd
|
||||
|
||||
front: $(NAME)-Front.ps
|
||||
lpr $<
|
||||
|
||||
back: $(NAME)-Back.ps
|
||||
lpr $<
|
||||
|
||||
%-Front.ps: %.brd
|
||||
$(PLOT_BRD) -l Front --mirror $<
|
||||
|
||||
%-Back.ps: %.brd
|
||||
$(PLOT_BRD) -l Back $<
|
||||
|
||||
clean:
|
||||
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
|
||||
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr
|
Loading…
Reference in New Issue
Block a user