2006-01-04 23:35:09 +00:00
|
|
|
OBJ1 = SmallObjBench.o
|
2006-01-07 03:09:05 +00:00
|
|
|
OBJ2 = SmallObjSingleton.o
|
2006-01-04 23:35:09 +00:00
|
|
|
BIN1 = small-obj-bench-gcc
|
2006-01-07 03:09:05 +00:00
|
|
|
BIN2 = small-obj-singleton-gcc
|
2006-01-05 13:20:11 +00:00
|
|
|
CXXFLAGS = -I../../include -Wall -fexpensive-optimizations -O3 -DNDEBUG
|
2006-01-04 23:35:09 +00:00
|
|
|
LIBS = -L../../lib -lloki
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(BIN1) $(BIN2)
|
|
|
|
|
|
|
|
$(BIN1): $(OBJ1)
|
|
|
|
$(CXX) -o $(BIN1) $(OBJ1) $(LIBS)
|
|
|
|
|
|
|
|
$(BIN2): $(OBJ2)
|
|
|
|
$(CXX) -o $(BIN2) $(OBJ2) $(LIBS)
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJ1) $(BIN1)
|
|
|
|
rm -f $(OBJ2) $(BIN2)
|