IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2011-03-11 20:05:30 (8 years 9 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 74ed5d87f98ad3b511236e3e47598a13cfdaa7ab |
Message: | atben/Makefile: added generation of some fab files (in progress) - Makefile (VERSION): version for fab files - Makefile (DIR): name of parent directory - Makefile (fab) generate tar and zip files with files needed for PCB production - Makefile (clean): remove also $(NAME)-PCB_Edges.dxf |
Files: |
atben/Makefile (3 diffs) |
Change Details
atben/Makefile | ||
---|---|---|
1 | 1 | PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones |
2 | 2 | |
3 | 3 | NAME = atben |
4 | VERSION = 110219 | |
5 | DIR = $(NAME) | |
4 | 6 | |
5 | 7 | .PHONY: all gen generate sch brd xpdf front back clean |
6 | 8 | .PHONY: gerber gerbv |
... | ... | |
28 | 30 | back: $(NAME)-Back.ps |
29 | 31 | lpr $< |
30 | 32 | |
31 | # this needs more work | |
33 | # this needs more work (--exclude-board-edges) | |
34 | ||
35 | PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \ | |
36 | $(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \ | |
37 | $(NAME)-Front.gtl $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs \ | |
38 | $(NAME)-PCB_Edges.gbr | |
32 | 39 | |
33 | 40 | gerber: |
34 | 41 | pcbnew --plot=gerber \ |
35 | 42 | -l `pcbnew --list-layers atben.brd | tr '\012' ,` \ |
36 | 43 | --fill-all-zones $(NAME).brd |
37 | 44 | |
45 | fab: gerber | |
46 | pcbnew --plot=dxf -l PCB_Edges $(NAME).brd | |
47 | pcbnew --drill $(NAME).brd | |
48 | tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%) | |
49 | cd ..; zip -l $(DIR)$(NAME)-$(VERSION).zip \ | |
50 | $(PCB_FILES:%=$(DIR)/%) | |
51 | ||
38 | 52 | gerbv: |
39 | 53 | gerbv $(NAME)-Comments.gbr \ |
40 | 54 | $(NAME)-SilkS_Front.gto \ |
... | ... | |
63 | 77 | |
64 | 78 | clean: |
65 | 79 | rm -f $(NAME)-Front.ps $(NAME)-Back.ps |
66 | rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr | |
80 | rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr $(NAME)-PCB_Edges.dxf | |
67 | 81 | rm -f $(NAME)-Front.gtl $(NAME)-Mask_Front.gts |
68 | 82 | rm -f $(NAME)-SilkS_Front.gto $(NAME)-SoldP_Front.gtp |
69 | 83 | rm -f $(NAME)-Back.gbl $(NAME)-Mask_Back.gbs |