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 $ ...@@ -25,6 +25,7 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $
install: $(TARGET) install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN) cp -f $(TARGET) $(KICAD_BIN)
clean: clean:
......
...@@ -26,6 +26,7 @@ netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk ...@@ -26,6 +26,7 @@ netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk
install: $(TARGET) install: $(TARGET)
mkdir -p $(KICAD_BIN)
cp $(TARGET) $(KICAD_BIN) cp $(TARGET) $(KICAD_BIN)
......
...@@ -18,10 +18,8 @@ all: netlist_form_pads-pcb ...@@ -18,10 +18,8 @@ all: netlist_form_pads-pcb
netlist_form_pads-pcb: netlist_form_pads-pcb.cpp makefile.gtk 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) 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) mkdir -p $(KICAD_PLUGINS)
install: $(KICAD_PLUGINS)
cp netlist_form_pads-pcb $(KICAD_PLUGINS) cp netlist_form_pads-pcb $(KICAD_PLUGINS)
clean : clean :
......
...@@ -18,10 +18,11 @@ EDACPPFLAGS = $(CPPFLAGS) ...@@ -18,10 +18,11 @@ EDACPPFLAGS = $(CPPFLAGS)
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) $(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET)
install: $(TARGET) install: $(TARGET)
cp $(TARGET) $(KICAD_BIN) mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN)
clean: clean:
......
...@@ -21,8 +21,9 @@ EDACPPFLAGS = $(CPPFLAGS) ...@@ -21,8 +21,9 @@ EDACPPFLAGS = $(CPPFLAGS)
$(TARGET): $(OBJECTS) makefile.gtk $(EXTRALIBS) ../libs.linux $(TARGET): $(OBJECTS) makefile.gtk $(EXTRALIBS) ../libs.linux
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET) $(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET)
install:$(TARGET) install: $(TARGET)
cp -f $(TARGET) $(KICAD_BIN) mkdir -p $(KICAD_BIN)
cp -f $(TARGET) $(KICAD_BIN)
clean: clean:
rm -f *.o; rm -f *.o;
......
...@@ -23,7 +23,8 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ...@@ -23,7 +23,8 @@ $(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS)
install: $(TARGET) install: $(TARGET)
cp $(TARGET) $(KICAD_BIN) mkdir -p $(KICAD_BIN)
cp $(TARGET) $(KICAD_BIN)
clean: clean:
......
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