add mingw make files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@233 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
e9b0d29ab9
commit
5c10a8b01c
9 changed files with 279 additions and 0 deletions
27
test/SmallObj/Makefile.mingw
Executable file
27
test/SmallObj/Makefile.mingw
Executable file
|
@ -0,0 +1,27 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = SmallObjBench.o SmallObj.o
|
||||
LINKOBJ = SmallObjBench.o SmallObj.o
|
||||
CXXINCS = -I./../../include -I./../../include/loki
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -Wall -pedantic -funroll-loops -fexpensive-optimizations -O2
|
||||
RM = rm -f
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
SmallObjBench.o: SmallObjBench.cpp
|
||||
$(CPP) -c SmallObjBench.cpp -o SmallObjBench.o $(CXXFLAGS)
|
||||
|
||||
SmallObj.o: ../../src/SmallObj.cpp
|
||||
$(CPP) -c ../../src/SmallObj.cpp -o SmallObj.o $(CXXFLAGS)
|
Loading…
Add table
Add a link
Reference in a new issue