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