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

This commit is contained in:
raburton 2007-08-20 07:51:49 +00:00
parent e140e42746
commit 040e2cbf6b
6 changed files with 11 additions and 8 deletions

View File

@ -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:

View File

@ -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)

View File

@ -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 :

View File

@ -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:

View File

@ -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;

View File

@ -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: