simple hacky make dependancy solution
This commit is contained in:
parent
956a9d834a
commit
bc52b0e60e
|
@ -11,8 +11,11 @@ FINAL = 1
|
||||||
|
|
||||||
all: $(TARGET).a
|
all: $(TARGET).a
|
||||||
|
|
||||||
include makefile.include
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
$(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
$(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
||||||
rm -f $@
|
rm -f $@
|
||||||
|
@ -22,10 +25,7 @@ $(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
||||||
install:$(TARGET).a
|
install:$(TARGET).a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *.exe *.res *.map *.d
|
||||||
rm -f *.exe
|
|
||||||
rm -f *.res
|
|
||||||
rm -f *.map
|
|
||||||
rm -f $(TARGET).a
|
rm -f $(TARGET).a
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,11 @@ EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
|
||||||
all: common.a
|
all: common.a
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing
|
CPPFLAGS += $(EXTRACPPFLAGS) -fno-strict-aliasing
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -25,11 +29,7 @@ common.a: $(OBJECTS) makefile.gtk makefile.include
|
||||||
install:common.a
|
install:common.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *~ core *.bak *.obj *.d
|
||||||
rm -f *~
|
|
||||||
rm -f core
|
|
||||||
rm -f *.bak
|
|
||||||
rm -f *.obj
|
|
||||||
rm -f common.a
|
rm -f common.a
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,11 @@ TARGET = cvpcb
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -29,6 +33,6 @@ install: $(TARGET)
|
||||||
cp -f $(TARGET) $(KICAD_BIN)
|
cp -f $(TARGET) $(KICAD_BIN)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *.d
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,11 @@ TARGET = eeschema
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -31,10 +35,7 @@ install: $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *.d *~ core *.bak
|
||||||
rm -f *~
|
|
||||||
rm -f core
|
|
||||||
rm -f *.bak
|
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,11 @@ endif
|
||||||
|
|
||||||
all: netlist_form_pads-pcb
|
all: netlist_form_pads-pcb
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
|
-include *.d
|
||||||
|
|
||||||
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)
|
||||||
|
|
||||||
|
@ -24,9 +29,5 @@ install: netlist_form_pads-pcb
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
rm -f netlist_form_pads-pcb
|
rm -f netlist_form_pads-pcb
|
||||||
rm -f *.o
|
rm -f *.o *.rsc *.res *.exe *.bak *.d
|
||||||
rm -f *.rsc
|
|
||||||
rm -f *.res
|
|
||||||
rm -f *.exe
|
|
||||||
rm -f *.bak
|
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,11 @@ TARGET = gerbview
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -26,10 +30,6 @@ install: $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *.exe *.res *.map *.d
|
||||||
rm -f *.exe
|
|
||||||
rm -f *.res
|
|
||||||
rm -f *.map
|
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,11 @@ TARGET = kicad
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -26,15 +30,6 @@ install: $(TARGET)
|
||||||
cp -f $(TARGET) $(KICAD_BIN)
|
cp -f $(TARGET) $(KICAD_BIN)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o;
|
rm -f *.o *.d *~ *.bak core
|
||||||
rm -f *~;
|
|
||||||
rm -f core;
|
|
||||||
rm -f *.bak
|
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,11 @@ all:
|
||||||
$(MAKEGTK) -C $$dir; \
|
$(MAKEGTK) -C $$dir; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
deps:
|
||||||
|
@for dir in $(KICAD_SUBDIRS); do \
|
||||||
|
$(MAKEGTK) -k -C $$dir deps; \
|
||||||
|
done
|
||||||
|
|
||||||
install-bin:
|
install-bin:
|
||||||
@for dir in $(KICAD_SUBDIRS_BIN); do \
|
@for dir in $(KICAD_SUBDIRS_BIN); do \
|
||||||
$(MAKEGTK) -C $$dir install; \
|
$(MAKEGTK) -C $$dir install; \
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
/************************************************/
|
/************************************************/
|
||||||
|
|
||||||
#include "dialog_edit_module.h"
|
#include "dialog_edit_module.h"
|
||||||
|
#include <wx/version.h>
|
||||||
|
|
||||||
/**************************************/
|
/**************************************/
|
||||||
/* class WinEDA_ModulePropertiesFrame */
|
/* class WinEDA_ModulePropertiesFrame */
|
||||||
|
|
|
@ -11,7 +11,11 @@ TARGET = pcbnew
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
deps:
|
||||||
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
||||||
|
|
||||||
include makefile.include
|
include makefile.include
|
||||||
|
-include *.d
|
||||||
|
|
||||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||||
EDACPPFLAGS = $(CPPFLAGS)
|
EDACPPFLAGS = $(CPPFLAGS)
|
||||||
|
@ -28,8 +32,7 @@ install: $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o *.map *.d
|
||||||
rm -f *.map
|
|
||||||
rm -f $(TARGET)
|
rm -f $(TARGET)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue