kicad/eeschema/makefile.gtk

48 lines
724 B
Plaintext
Raw Normal View History

2007-05-06 16:03:28 +00:00
## Makefile for eeschema
include ../libs.linux
2007-05-06 16:03:28 +00:00
# Additional compiler flags
CPPFLAGS +=
2007-05-06 16:03:28 +00:00
TARGET = eeschema
all: $(TARGET)
2007-11-04 22:14:47 +00:00
deps:
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
2007-05-06 16:03:28 +00:00
include makefile.include
2007-11-04 22:14:47 +00:00
-include *.d
2007-05-06 16:03:28 +00:00
CPPFLAGS += $(EXTRACPPFLAGS)
EDACPPFLAGS = $(CPPFLAGS)
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBS) -o $(TARGET)
netlist_form_pads-pcb: plugins/netlist_form_pads-pcb.cpp makefile.gtk
$(CXX) $(CXXFLAGS) -D__UNIX__ -Wall plugins/netlist_form_pads-pcb.cpp $(LIBSTDC) -o netlist_form_pads-pcb
2007-05-06 16:03:28 +00:00
install: $(TARGET)
mkdir -p $(KICAD_BIN)
2007-05-06 16:03:28 +00:00
cp $(TARGET) $(KICAD_BIN)
clean:
2007-11-04 22:14:47 +00:00
rm -f *.o *.d *~ core *.bak
2007-05-06 16:03:28 +00:00
rm -f $(TARGET)