small changes to makefiles to better support override of install location

This commit is contained in:
raburton 2007-06-13 20:22:49 +00:00
parent 74878eb889
commit 60802457b2
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ netlist_form_pads-pcb: netlist_form_pads-pcb.cpp makefile.gtk
gcc -D__UNIX__ -Wall netlist_form_pads-pcb.cpp -o netlist_form_pads-pcb $(LIBSTDC)
install:
cp -v netlist_form_pads-pcb $(KICAD_BIN)/plugins/
cp -v netlist_form_pads-pcb $(KICAD_PLUGINS)
clean :
rm -f netlist_form_pads-pcb

View File

@ -1,6 +1,7 @@
#Configuration for build kicad
KICAD_BIN = /usr/local/kicad/linux
KICAD_BIN = /usr/local/kicad
KICAD_PLUGINS = $(KICAD_BIN)/plugins
SRCSUFF = .cpp