2007-10-28 18:47:28 +00:00
|
|
|
## Makefile for 3d-viewer.a
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
include ../libs.macosx
|
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
TARGET = 3d-viewer.a
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
all: $(TARGET)
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-11-19 14:35:04 +00:00
|
|
|
deps:
|
|
|
|
$(CXX) $(CPPFLAGS) -E -MMD -MG *.cpp >/dev/null
|
|
|
|
|
2007-05-06 16:03:28 +00:00
|
|
|
include makefile.include
|
2007-11-19 14:35:04 +00:00
|
|
|
-include *.d
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
CPPFLAGS += -DPCBNEW -I../pcbnew
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
$(TARGET): $(OBJECTS3D) makefile.macosx makefile.include
|
2007-05-06 16:03:28 +00:00
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS3D)
|
|
|
|
ranlib $@
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2007-10-28 18:47:28 +00:00
|
|
|
rm -f *.o; rm -f *~
|
|
|
|
rm -f $(TARGET)
|
2007-05-06 16:03:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|