mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-17 20:09:41 +02:00
makefiles/Makefile.kicad: replaced a few $(NAME) with patterns (%, $^, $<)
This commit is contained in:
parent
16ac7e5f4b
commit
33f320eaf2
@ -125,19 +125,17 @@ gerbv:
|
|||||||
$(NAME)Front.pos:
|
$(NAME)Front.pos:
|
||||||
pcbnew --pos $(BRD)
|
pcbnew --pos $(BRD)
|
||||||
|
|
||||||
$(NAME)-pos.csv: $(NAME)Front.pos $(NAME).cmp
|
%-pos.csv: %Front.pos %.cmp
|
||||||
$(POS2FAB) $(NAME)Front.pos $(NAME).cmp >$@ || \
|
$(POS2FAB) $^ >$@ || { rm -f "$@"; exit 1; }
|
||||||
{ rm -f "$@"; exit 1; }
|
|
||||||
|
|
||||||
../bom/$(NAME)-bom.csv:
|
../bom/$(NAME)-bom.csv:
|
||||||
$(MAKE) -C ../bom $(NAME)-bom.csv
|
$(MAKE) -C ../bom $(NAME)-bom.csv
|
||||||
|
|
||||||
$(NAME)-bom.csv: ../bom/$(NAME)-bom.csv
|
%-bom.csv: ../bom/%-bom.csv
|
||||||
mv $< $@
|
mv $< $@
|
||||||
|
|
||||||
$(NAME)-footprints.pdf: $(NAME).pro $(NAME).cmp $(NAME)Front.pos
|
%-footprints.pdf: %.pro %.cmp %Front.pos
|
||||||
$(FPDOC) -a FIDUCIAL $(NAME).pro "$@" || \
|
$(FPDOC) -a FIDUCIAL $< "$@" || { rm -f "$@"; exit 1; }
|
||||||
{ rm -f "$@"; exit 1; }
|
|
||||||
|
|
||||||
fab-smt: $(SMT_FILES)
|
fab-smt: $(SMT_FILES)
|
||||||
mkdir -p fab
|
mkdir -p fab
|
||||||
|
Loading…
Reference in New Issue
Block a user