2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for 3d-viewer.a ( wxGTK - LINUX )
|
|
|
|
|
|
|
|
include ../libs.linux
|
|
|
|
|
2007-06-14 16:28:05 +00:00
|
|
|
# Compiler flags.
|
|
|
|
CPPFLAGS += -DPCBNEW -I../pcbnew -I ../include -I../common
|
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
TARGET = 3d-viewer
|
|
|
|
|
|
|
|
FINAL = 1
|
|
|
|
|
|
|
|
all: $(TARGET).a
|
|
|
|
|
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
|
|
|
|
2007-11-04 22:14:47 +00:00
|
|
|
include makefile.include
|
|
|
|
-include *.d
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
$(TARGET).a: $(OBJECTS3D) makefile.gtk makefile.include
|
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS3D)
|
|
|
|
ranlib $@
|
|
|
|
|
2007-05-28 18:09:49 +00:00
|
|
|
install:$(TARGET).a
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
clean:
|
2007-11-04 22:14:47 +00:00
|
|
|
rm -f *.o *.exe *.res *.map *.d
|
2007-05-06 16:03:28 +00:00
|
|
|
rm -f $(TARGET).a
|
|
|
|
|
|
|
|
|
|
|
|
|