5c10a8b01c
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@233 7ec92016-0320-0410-acc4-a06ded1c099a
25 lines
490 B
Text
Executable file
25 lines
490 B
Text
Executable file
|
|
|
|
CPP = g++
|
|
CC = gcc
|
|
OBJ = Test.o
|
|
LINKOBJ = Test.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)
|
|
|
|
Test.o: Test.cpp
|
|
$(CPP) -c Test.cpp -o Test.o $(CXXFLAGS)
|
|
|