2007-05-06 16:03:28 +00:00
|
|
|
## Makefile for common.a
|
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
include ../libs.macosx
|
2007-05-06 16:03:28 +00:00
|
|
|
|
2007-10-28 19:35:17 +00:00
|
|
|
TARGET = common.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
|
|
|
|
|
|
|
CPPFLAGS += $(EXTRACPPFLAGS)
|
|
|
|
EDACPPFLAGS = $(CPPFLAGS)
|
|
|
|
|
2007-10-28 18:47:28 +00:00
|
|
|
$(TARGET): $(OBJECTS) makefile.macosx makefile.include
|
2007-05-06 16:03:28 +00:00
|
|
|
rm -f $@
|
|
|
|
ar -rv $@ $(OBJECTS)
|
|
|
|
ranlib $@
|
|
|
|
|
|
|
|
clean:
|
2007-10-28 18:47:28 +00:00
|
|
|
rm -f *.o; rm -f *~
|
|
|
|
rm -f $(TARGET)
|