1
0
mirror of git://projects.qi-hardware.com/ben-blinkenlights.git synced 2025-04-21 12:27:27 +03:00

uart/: great renaming to nxuart, including references in Makefile

This commit is contained in:
Werner Almesberger
2011-03-07 14:42:44 -03:00
parent 271a50f3c2
commit 5b14b505b4
17 changed files with 21 additions and 21 deletions

31
nxuart/Makefile Normal file
View File

@@ -0,0 +1,31 @@
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
NAME = nxuart
.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