Commit 7b007f6d authored by kintel's avatar kintel

Added deps make target for Mac OS X

parent 2a1843c3
......@@ -6,7 +6,11 @@ TARGET = 3d-viewer.a
all: $(TARGET)
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += -DPCBNEW -I../pcbnew
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -6,7 +6,11 @@ TARGET = common.a
all: $(TARGET)
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -6,7 +6,11 @@ TARGET = cvpcb
all: $(TARGET).app
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -6,7 +6,11 @@ TARGET = eeschema
all: $(TARGET).app netlist_form_pads-pcb
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -6,7 +6,11 @@ TARGET = gerbview
all: $(TARGET).app
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -6,7 +6,11 @@ TARGET = kicad
all: $(TARGET).app
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -9,6 +9,9 @@ MAKE_CLEAN = make -f makefile.macosx clean
all:
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE)); done
deps:
@for d in $(KICAD_SUBDIRS); do (cd $$d && $(MAKE) -k deps); done
install:
@for d in $(KICAD_SUBDIRS_BIN); do (cd $$d && $(MAKE_INSTALL)); done
......
......@@ -6,7 +6,11 @@ TARGET = pcbnew
all: $(TARGET).app
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
include makefile.include
-include *.d
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
......
......@@ -114,7 +114,7 @@ void WinEDA_BasePcbFrame::Compile_Ratsnest( wxDC* DC, bool display_status_pcb )
m_Pcb->m_Status_Pcb = 0; /* we want a full ratnest computation, from the scratch */
build_liste_pads();
MsgPanel->EraseMsgBox();
MsgPanel->EraseMsgBox(DC);
msg.Printf( wxT( " %d" ), m_Pcb->m_NbPads );
Affiche_1_Parametre( this, 1, wxT( "pads" ), msg, RED );
......
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