Commit 040e2cbf authored by raburton's avatar raburton

small fix to make install so no need to pre-create the binary install dir

parent e140e427
......@@ -25,6 +25,7 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $
install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN)
clean:
......
......@@ -26,6 +26,7 @@ netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk
install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp $(TARGET) $(KICAD_BIN)
......
......@@ -18,10 +18,8 @@ all: netlist_form_pads-pcb
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)
$(KICAD_PLUGINS):
install: netlist_form_pads-pcb
mkdir -p $(KICAD_PLUGINS)
install: $(KICAD_PLUGINS)
cp netlist_form_pads-pcb $(KICAD_PLUGINS)
clean :
......
......@@ -21,7 +21,8 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
install: $(TARGET)
cp $(TARGET) $(KICAD_BIN)
mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN)
clean:
......
......@@ -21,7 +21,8 @@ EDACPPFLAGS = $(CPPFLAGS)
$(TARGET): $(OBJECTS) makefile.gtk $(EXTRALIBS) ../libs.linux
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET)
install:$(TARGET)
install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN)
clean:
......
......@@ -23,6 +23,7 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS)
install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp $(TARGET) $(KICAD_BIN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment