39 lines
582 B
Plaintext
39 lines
582 B
Plaintext
# File: makefile
|
|
|
|
FINAL = 1
|
|
|
|
|
|
include ../libs.linux
|
|
|
|
# Compiler flags.
|
|
CPPFLAGS +=
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
TARGET = cvpcb
|
|
|
|
all: $(TARGET)
|
|
|
|
deps:
|
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
|
|
|
include makefile.include
|
|
-include *.d
|
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $(LIBVIEWER3D)
|
|
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBVIEWER3D) $(LIBS_WITH_GL) -o $(TARGET)
|
|
|
|
|
|
install: $(TARGET)
|
|
mkdir -p $(KICAD_BIN)
|
|
cp -f $(TARGET) $(KICAD_BIN)
|
|
|
|
clean:
|
|
rm -f *.o *.d
|
|
rm -f $(TARGET)
|
|
|