From fccfa470ef32e06239f5ab24e44fd88f31d95b13 Mon Sep 17 00:00:00 2001 From: raburton Date: Sat, 16 Jun 2007 20:15:33 +0000 Subject: [PATCH] simplify 2 of the make install targets - don't need individual targets for library & modudle files --- library/makefile | 8 ++------ modules/makefile | 9 +++------ 2 files changed, 5 insertions(+), 12 deletions(-) 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)