ec5c81cb93
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@445 7ec92016-0320-0410-acc4-a06ded1c099a
20 lines
414 B
Makefile
Executable file
20 lines
414 B
Makefile
Executable file
OBJ1 = SmallObjBench.o
|
|
OBJ2 = SmallObjSingleton.o
|
|
BIN1 = small-obj-bench-gcc
|
|
BIN2 = small-obj-singleton-gcc
|
|
CXXFLAGS = -I../../include -Wall -fexpensive-optimizations -O3 -DNDEBUG
|
|
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)
|