kicad/pcbnew/makefile.gtk

41 lines
627 B
Plaintext
Raw Normal View History

2007-05-06 16:03:28 +00:00
## Makefile for PCBNEW et wxGTK
2007-05-06 16:03:28 +00:00
include ../libs.linux
2008-07-25 13:37:53 +00:00
BOOST_LIB = ../
# Additional compiler flags
2008-07-25 13:37:53 +00:00
CPPFLAGS += -I $(BOOST_LIB)
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)
2008-07-25 13:37:53 +00:00
EDACPPFLAGS = $(CPPFLAGS) $(BOOST_LIB)
2007-05-06 16:03:28 +00:00
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ../libs.linux
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS_WITH_GL)\
-o $(TARGET)
install: $(TARGET)
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)