kicad/eeschema/plugins/makefile.gtk

34 lines
817 B
Plaintext

# 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)
ifeq ($(KICAD_STATIC_LINK), 1)
#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
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
-include *.d
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)
install: netlist_form_pads-pcb
mkdir -p $(KICAD_PLUGINS)
cp netlist_form_pads-pcb $(KICAD_PLUGINS)
clean :
rm -f netlist_form_pads-pcb
rm -f *.o *.rsc *.res *.exe *.bak *.d