2007-05-06 16:03:28 +00:00
|
|
|
# File: makefile
|
|
|
|
|
|
|
|
FINAL = 1
|
|
|
|
|
|
|
|
|
2007-06-14 16:28:05 +00:00
|
|
|
include ../libs.linux
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-06-14 16:28:05 +00:00
|
|
|
# Compiler flags.
|
|
|
|
CPPFLAGS +=
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
TARGET = cvpcb
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
include makefile.include
|
|
|
|
|
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(EXTRALIBS) ../libs.linux $(LIBVIEWER3D)
|
|
|
|
$(LD) $(OBJECTS) $(LDFLAGS) $(LIBVIEWER3D) $(LIBS_WITH_GL) -o $(TARGET)
|
|
|
|
|
|
|
|
|
2007-06-05 12:10:51 +00:00
|
|
|
install: $(TARGET)
|
2007-08-20 07:51:49 +00:00
|
|
|
mkdir -p $(KICAD_BIN)
|
2007-05-06 16:03:28 +00:00
|
|
|
cp -f $(TARGET) $(KICAD_BIN)
|
2007-06-05 12:10:51 +00:00
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
clean:
|
2007-06-05 16:50:50 +00:00
|
|
|
rm -f *.o
|
|
|
|
rm -f $(TARGET)
|
2007-05-06 16:03:28 +00:00
|
|
|
|