simplify 2 of the make install targets - don't need individual targets for library & modudle files

This commit is contained in:
raburton 2007-06-16 20:15:33 +00:00
parent dc169e696c
commit fccfa470ef
2 changed files with 5 additions and 12 deletions

View File

@ -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)

View File

@ -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)