2007-05-06 16:03:28 +00:00
|
|
|
# File: makefile for eeschema, mingw
|
|
|
|
|
|
|
|
#used only to define (KICAD_BIN) :
|
|
|
|
include ../../libs.linux
|
|
|
|
|
|
|
|
# Use static link for libsupc++ (locate libstdc++.a and copy it in kicad_dev/syslibs)
|
2007-06-11 19:33:59 +00:00
|
|
|
ifeq ($(KICAD_STATIC_LINK), 1)
|
2007-05-06 16:03:28 +00:00
|
|
|
#define path for a copy of libstdc++.a or/and libsupc++.a:
|
|
|
|
LIBSTDC = ../../syslibs/libstdc++.a
|
|
|
|
else
|
|
|
|
# Or Use static link for libsupc++ or libstdc++
|
|
|
|
LIBSTDC = -lstdc++
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
all: netlist_form_pads-pcb
|
|
|
|
|
2007-11-04 22:14:47 +00:00
|
|
|
deps:
|
|
|
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
|
|
|
|
|
|
|
-include *.d
|
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
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)
|
|
|
|
|
2007-08-20 07:51:49 +00:00
|
|
|
install: netlist_form_pads-pcb
|
2007-06-16 09:07:23 +00:00
|
|
|
mkdir -p $(KICAD_PLUGINS)
|
|
|
|
cp netlist_form_pads-pcb $(KICAD_PLUGINS)
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f netlist_form_pads-pcb
|
2007-11-04 22:14:47 +00:00
|
|
|
rm -f *.o *.rsc *.res *.exe *.bak *.d
|
2007-05-06 16:03:28 +00:00
|
|
|
|