Root/zprobe/Makefile

Source at commit 20283fe created 7 years 9 months ago.
By Werner Almesberger, midi2osc: slight README and Makefile cleanup
1PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
2
3NAME = zprobe
4
5.PHONY: all sch brd front back clean
6
7all: ssop8-p-0_50a.mod
8        @echo "make what ? target: sch brd front back clean"
9        @exit 1
10
11%.mod: %.fpd
12        fped -k $< >$@ || { rm -f $@; exit 1; }
13
14sch:
15        eeschema `pwd`/$(NAME).sch
16
17brd:
18        pcbnew `pwd`/$(NAME).brd
19
20front: $(NAME)-Front.ps
21        lpr $<
22
23back: $(NAME)-Back.ps
24        lpr $<
25
26%-Front.ps: %.brd
27        $(PLOT_BRD) -l Front --mirror $<
28
29%-Back.ps: %.brd
30        $(PLOT_BRD) -l Back $<
31
32clean:
33        rm -f $(NAME)-Front.ps $(NAME)-Back.ps
34        rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr
35

Archive Download this file

Branches:
master



interactive