Root/atusb-pgm/Makefile

Source at commit 1f003f1c2100f7f3670106fd13df0eaec7a0e4e1 created 4 years 1 month ago.
By Werner Almesberger, atusb/atusb.kicad_pcb: grow RF feed trace to 1.9 mm, for 1.0 mm PCB
1PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
2
3NAME = atusb-pgm
4
5.PHONY: all sch brd front back clean
6
7all:
8        @echo "make what ? target: sch brd front back clean"
9        @exit 1
10
11sch:
12        eeschema `pwd`/$(NAME).sch
13
14brd:
15        pcbnew `pwd`/$(NAME).brd
16
17front: $(NAME)-Front.ps
18        lpr $<
19
20back: $(NAME)-Back.ps
21        lpr $<
22
23%-Front.ps: %.brd
24        $(PLOT_BRD) -l Front --mirror $<
25
26%-Back.ps: %.brd
27        $(PLOT_BRD) -l Back $<
28
29clean:
30        rm -f $(NAME)-Front.ps $(NAME)-Back.ps
31        rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr
32

Archive Download this file



interactive