mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-05 04:55:19 +02:00
atben/Makefile: cleanup and a small bug fix
- Makefile (fab): / was missing between $(DIR) and $(NAME) of ZIP archive - Makefile: added section titles - Makefile: removed comment that --exclude-board-edges was missing - Makefile (gerber): changed atben.brd to $(NAME).brd
This commit is contained in:
parent
20717b20c7
commit
6bbe3bfcf9
@ -30,7 +30,7 @@ front: $(NAME)-Front.ps
|
|||||||
back: $(NAME)-Back.ps
|
back: $(NAME)-Back.ps
|
||||||
lpr $<
|
lpr $<
|
||||||
|
|
||||||
# this needs more work (--exclude-board-edges)
|
# --- Industrial production ---------------------------------------------------
|
||||||
|
|
||||||
PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
|
PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
|
||||||
$(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
|
$(NAME)-SilkS_Front.gto $(NAME)-Mask_Front.gts \
|
||||||
@ -39,7 +39,7 @@ PCB_FILES = README-PCB $(NAME)-PCB_Edges.dxf $(NAME).drl \
|
|||||||
|
|
||||||
gerber:
|
gerber:
|
||||||
pcbnew --plot=gerber \
|
pcbnew --plot=gerber \
|
||||||
-l `pcbnew --list-layers atben.brd | tr '\012' ,` \
|
-l `pcbnew --list-layers $(NAME).brd | tr '\012' ,` \
|
||||||
--fill-all-zones $(NAME).brd \
|
--fill-all-zones $(NAME).brd \
|
||||||
--exclude-pcb-edge
|
--exclude-pcb-edge
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ fab: gerber
|
|||||||
pcbnew --plot=dxf -l PCB_Edges $(NAME).brd
|
pcbnew --plot=dxf -l PCB_Edges $(NAME).brd
|
||||||
pcbnew --drill $(NAME).brd
|
pcbnew --drill $(NAME).brd
|
||||||
tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%)
|
tar Ccfz .. $(NAME)-$(VERSION).tar.gz $(PCB_FILES:%=$(DIR)/%)
|
||||||
cd ..; zip -l $(DIR)$(NAME)-$(VERSION).zip \
|
cd ..; zip -l $(DIR)/$(NAME)-$(VERSION).zip \
|
||||||
$(PCB_FILES:%=$(DIR)/%)
|
$(PCB_FILES:%=$(DIR)/%)
|
||||||
|
|
||||||
gerbv:
|
gerbv:
|
||||||
@ -58,6 +58,8 @@ gerbv:
|
|||||||
$(NAME)-Mask_Front.gts \
|
$(NAME)-Mask_Front.gts \
|
||||||
$(NAME)-Back.gbl
|
$(NAME)-Back.gbl
|
||||||
|
|
||||||
|
# --- DIY production (toner transfer) -----------------------------------------
|
||||||
|
|
||||||
#
|
#
|
||||||
# Postscript for production of front/back layer, using the toner transfer
|
# Postscript for production of front/back layer, using the toner transfer
|
||||||
# method. Note that other artwork transfer methods may require different
|
# method. Note that other artwork transfer methods may require different
|
||||||
@ -75,6 +77,8 @@ gerbv:
|
|||||||
%-Back.ps: %.brd
|
%-Back.ps: %.brd
|
||||||
$(PLOT_BRD) -l Back $<
|
$(PLOT_BRD) -l Back $<
|
||||||
|
|
||||||
|
# --- Cleanup -----------------------------------------------------------------
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
|
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
|
||||||
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr $(NAME)-PCB_Edges.dxf
|
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr $(NAME)-PCB_Edges.dxf
|
||||||
|
Loading…
Reference in New Issue
Block a user