Date:2011-01-18 02:35:55 (8 years 7 months ago)
Author:Werner Almesberger
Commit:7d91ee60c6db132b78f70c643db2792cf86461a2
Message:atusb/Makefile: replaced board name by $(NAME) or pattern

Files: atusb/Makefile (3 diffs)

Change Details

atusb/Makefile
11PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
22
3NAME = atusb
4
35.PHONY: all gen generate sch brd xpdf front back clean
46
57all:
...... 
79        @exit 1
810
911gen generate:
10        eeschema --plot `pwd`/atusb.sch
12        eeschema --plot `pwd`/$(NAME).sch
1113        # need scripts
1214
1315sch:
14        eeschema `pwd`/atusb.sch
16        eeschema `pwd`/$(NAME).sch
1517
1618brd:
17        pcbnew `pwd`/atusb.brd
19        pcbnew `pwd`/$(NAME).brd
1820
1921xpdf:
20        xpdf atusb.pdf
22        xpdf $(NAME).pdf
2123
22front: atusb-Front.ps
24front: $(NAME)-Front.ps
2325        lpr $<
2426
25back: atusb-Back.ps
27back: $(NAME)-Back.ps
2628        lpr $<
2729
2830#
...... 
3638# larger (!) than designed.
3739#
3840
39atusb-Front.ps: atusb.brd
41%-Front.ps: %.brd
4042        $(PLOT_BRD) -l Front --mirror $<
4143
42atusb-Back.ps: atusb.brd
44%-Back.ps: %.brd
4345        $(PLOT_BRD) -l Back $<
4446
4547clean:
46        rm -f atusb-Front.ps atusb-Back.ps
47        rm -f atusb.drl atusb-PCB_Edges.gbr
48        rm -f $(NAME)-Front.ps $(NAME)-Back.ps
49        rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr

Archive Download the corresponding diff file



interactive