simplify 2 of the make install targets - don't need individual targets for library & modudle files
This commit is contained in:
parent
dc169e696c
commit
fccfa470ef
|
@ -1,14 +1,10 @@
|
|||
# Install component libraries
|
||||
include ../libs.linux
|
||||
|
||||
TARGETS=*.dcm *.lib *.sym
|
||||
|
||||
install: $(TARGETS)
|
||||
|
||||
$(KICAD_LIBRARY):
|
||||
mkdir -p $(KICAD_LIBRARY)
|
||||
|
||||
$(TARGETS): $(KICAD_LIBRARY)
|
||||
cp -R $@ $(KICAD_LIBRARY)
|
||||
install: $(KICAD_LIBRARY)
|
||||
cp *.dcm *.lib *.sym $(KICAD_LIBRARY)
|
||||
|
||||
.PHONY: $(TARGETS)
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
# Install modules and 3d models
|
||||
include ../libs.linux
|
||||
|
||||
TARGETS=*.brd *.equ *.mdc *.mod packages3d
|
||||
|
||||
install: $(TARGETS)
|
||||
|
||||
$(KICAD_MODULES):
|
||||
mkdir -p $(KICAD_MODULES)
|
||||
|
||||
$(TARGETS): $(KICAD_MODULES)
|
||||
cp -R $@ $(KICAD_MODULES)
|
||||
install: $(KICAD_MODULES)
|
||||
cp *.brd *.equ *.mdc *.mod $(KICAD_MODULES)
|
||||
cp -R packages3d $(KICAD_MODULES)
|
||||
|
||||
.PHONY: $(TARGETS)
|
||||
|
|
Loading…
Reference in New Issue