1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-23 18:17:44 +02:00

atusd/Makefile: replaced board name by $(NAME) or pattern

This commit is contained in:
Werner Almesberger 2011-01-08 09:51:47 -03:00
parent 766b5759ea
commit cb2a30aa80

View File

@ -9,22 +9,22 @@ all: dtc123je.mod
@exit 1 @exit 1
gen generate: gen generate:
eeschema --plot `pwd`/atusd.sch eeschema --plot `pwd`/$(NAME).sch
# need scripts # need scripts
sch: sch:
eeschema `pwd`/atusd.sch eeschema `pwd`/$(NAME).sch
brd: brd:
pcbnew `pwd`/atusd.brd pcbnew `pwd`/$(NAME).brd
xpdf: xpdf:
xpdf atusd.pdf xpdf $(NAME).pdf
front: atusd-Front.ps front: $(NAME)-Front.ps
lpr $< lpr $<
back: atusd-Back.ps back: $(NAME)-Back.ps
lpr $< lpr $<
# #
@ -38,12 +38,12 @@ back: atusd-Back.ps
# larger (!) than designed. # larger (!) than designed.
# #
atusd-Front.ps: atusd.brd %-Front.ps: %.brd
$(PLOT_BRD) -l Front --mirror $< $(PLOT_BRD) -l Front --mirror $<
atusd-Back.ps: atusd.brd %-Back.ps: %.brd
$(PLOT_BRD) -l Back $< $(PLOT_BRD) -l Back $<
clean: clean:
rm -f atusd-Front.ps atusd-Back.ps rm -f $(NAME)-Front.ps $(NAME)-Back.ps
rm -f atusd.drl atusd-PCB_Edges.gbr rm -f $(NAME).drl $(NAME)-PCB_Edges.gbr