2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for PCBNEW et wxGTK
|
2007-06-14 16:28:05 +00:00
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
include ../libs.linux
|
|
|
|
|
2008-02-12 21:12:46 +00:00
|
|
|
BOOST_LIB = /usr/include/boost
|
|
|
|
|
2007-06-14 16:28:05 +00:00
|
|
|
# Additional compiler flags
|
|
|
|
CPPFLAGS +=
|
|
|
|
|
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
TARGET = pcbnew
|
|
|
|
|
|
|
|
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 $(LIBVIEWER3D) $(EXTRALIBS) ../libs.linux
|
|
|
|
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS_WITH_GL)\
|
2007-06-05 12:10:51 +00:00
|
|
|
-o $(TARGET)
|
|
|
|
|
|
|
|
|
2007-05-28 18:09:49 +00:00
|
|
|
install: $(TARGET)
|
2007-08-20 07:51:49 +00:00
|
|
|
mkdir -p $(KICAD_BIN)
|
|
|
|
cp $(TARGET) $(KICAD_BIN)
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2007-11-04 22:14:47 +00:00
|
|
|
rm -f *.o *.map *.d
|
2007-05-06 16:03:28 +00:00
|
|
|
rm -f $(TARGET)
|
|
|
|
|
|
|
|
|
|
|
|
|