kicad/eeschema/plugins/makefile.gtk

33 lines
771 B
Plaintext
Raw Normal View History

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)
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
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)
2007-05-06 16:03:28 +00:00
clean :
rm -f netlist_form_pads-pcb
rm -f *.o
rm -f *.rsc
rm -f *.res
rm -f *.exe
rm -f *.bak