diff --git a/library/makefile b/library/makefile index cc81a12513..cc15df984d 100644 --- a/library/makefile +++ b/library/makefile @@ -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) diff --git a/modules/makefile b/modules/makefile index b44766ad3a..6b5a1119c8 100644 --- a/modules/makefile +++ b/modules/makefile @@ -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)