Added deps make target for Mac OS X

This commit is contained in:
kintel 2007-11-19 14:35:04 +00:00
parent 2a1843c3a9
commit 7b007f6d85
9 changed files with 32 additions and 1 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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