mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-25 01:59:40 +02:00
59901f52c5
- zprobe.pro, zprobe.sch, zprobe.cmp, zprobe.brd: Z-probe design - 74hc04-3.lib: schematics symbol for triple 7404-style inverter - ssop8-p-0_50a.fpd: footprint for Toshiba TC7W04FK - Makefile: combined design automation and module conversion
35 lines
598 B
Makefile
35 lines
598 B
Makefile
PLOT_BRD = pcbnew --plot=ps_a4 --ps-pads-drill-opt=none --fill-all-zones
|
|
|
|
NAME = zprobe
|
|
|
|
.PHONY: all sch brd front back clean
|
|
|
|
all: ssop8-p-0_50a.mod
|
|
@echo "make what ? target: sch brd front back clean"
|
|
@exit 1
|
|
|
|
%.mod: %.fpd
|
|
fped -k $< >$@ || { rm -f $@; exit 1; }
|
|
|
|
sch:
|
|
eeschema `pwd`/$(NAME).sch
|
|
|
|
brd:
|
|
pcbnew `pwd`/$(NAME).brd
|
|
|
|
front: $(NAME)-Front.ps
|
|
lpr $<
|
|
|
|
back: $(NAME)-Back.ps
|
|
lpr $<
|
|
|
|
%-Front.ps: %.brd
|
|
$(PLOT_BRD) -l Front --mirror $<
|
|
|
|
%-Back.ps: %.brd
|
|
$(PLOT_BRD) -l Back $<
|
|
|
|
clean:
|
|
rm -f $(NAME)-Front.ps $(NAME)-Back.ps
|
|
rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr
|