remove mingw specific makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@256 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
9429d59bd4
commit
4043617da0
7 changed files with 0 additions and 226 deletions
|
@ -1,34 +0,0 @@
|
|||
|
||||
MAKEFILE = Makefile.mingw
|
||||
|
||||
SUBTARGETS = \
|
||||
sub-src \
|
||||
sub-test \
|
||||
|
||||
all: $(SUBTARGETS)
|
||||
|
||||
sub-src: FORCE
|
||||
cd src && \
|
||||
$(MAKE) -f $(MAKEFILE)
|
||||
@cd ..
|
||||
|
||||
sub-test: FORCE
|
||||
cd test && \
|
||||
$(MAKE) -f $(MAKEFILE)
|
||||
@cd ..
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
cd src && \
|
||||
$(MAKE) -f $(MAKEFILE) clean
|
||||
@cd ..
|
||||
cd test && \
|
||||
$(MAKE) -f $(MAKEFILE) clean
|
||||
@cd ..
|
||||
|
||||
|
||||
|
||||
|
||||
FORCE:
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\Singleton.o tmp\SmallObj.o
|
||||
LINKOBJ = tmp\Singleton.o tmp\SmallObj.o
|
||||
LIBS = -L"C:/Programme/Dev-Cpp/lib" -g3
|
||||
CXXINCS = -I"..\include"
|
||||
BIN = ../lib/libloki.a
|
||||
CXXFLAGS = $(CXXINCS) -W0 -O2 -DNDEBUG
|
||||
CFLAGS = $(INCS) -g3
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before check_tmp check_lib ../lib/libloki.a all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(LINKOBJ)
|
||||
ar r $(BIN) $(LINKOBJ)
|
||||
ranlib $(BIN)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
check_lib:
|
||||
@$(CHK_DIR_EXISTS) "..\lib\" $(MKDIR) "..\lib\"
|
||||
|
||||
tmp\Singleton.o: Singleton.cpp
|
||||
$(CPP) -c Singleton.cpp -o tmp\Singleton.o $(CXXFLAGS)
|
||||
|
||||
tmp\SmallObj.o: SmallObj.cpp
|
||||
$(CPP) -c SmallObj.cpp -o tmp\SmallObj.o $(CXXFLAGS)
|
|
@ -1,31 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\Factory.o
|
||||
LINKOBJ = tmp\Factory.o
|
||||
CXXINCS = -I./../../include
|
||||
LIBS = -L../../lib -lloki
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -W0 -O2 -DNDEBUG
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before check_tmp main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
tmp\Factory.o: Factory.cpp
|
||||
$(CPP) -c Factory.cpp -o tmp\Factory.o $(CXXFLAGS)
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\Test.o
|
||||
LINKOBJ = tmp\Test.o
|
||||
CXXINCS = -I./../../include
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -W0 -O2 -DNDEBUG
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before check_tmp main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
tmp\Test.o: Test.cpp
|
||||
$(CPP) -c Test.cpp -o tmp\Test.o $(CXXFLAGS)
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\main.o
|
||||
LINKOBJ = tmp\main.o
|
||||
CXXINCS = -I./../../include
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -W0 -O2 -DNDEBUG
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before check_tmp main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
tmp\main.o: main.cpp
|
||||
$(CPP) -c main.cpp -o tmp\main.o $(CXXFLAGS)
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\SmallObjBench.o tmp\SmallObj.o
|
||||
LINKOBJ = tmp\SmallObjBench.o tmp\SmallObj.o
|
||||
CXXINCS = -I./../../include -I./../../include/loki
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -Wall -Wextra -pedantic -DNDEBUG -fexpensive-optimizations -O3
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: clean all-before check_tmp main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
tmp\SmallObjBench.o: SmallObjBench.cpp
|
||||
$(CPP) -c SmallObjBench.cpp -o tmp\SmallObjBench.o $(CXXFLAGS)
|
||||
|
||||
tmp\SmallObj.o: ../../src/SmallObj.cpp
|
||||
$(CPP) -c ../../src/SmallObj.cpp -o tmp\SmallObj.o $(CXXFLAGS)
|
|
@ -1,31 +0,0 @@
|
|||
|
||||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = tmp\main.o
|
||||
LINKOBJ = tmp\main.o
|
||||
CXXINCS = -I./../../include
|
||||
BIN = main-mingw.exe
|
||||
CXXFLAGS = $(CXXINCS) -W0 -O2 -DNDEBUG
|
||||
RM = rm -f
|
||||
CHK_DIR_EXISTS= if not exist
|
||||
MKDIR = mkdir
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before check_tmp main-mingw.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o main-mingw.exe $(LIBS)
|
||||
|
||||
check_tmp:
|
||||
@$(CHK_DIR_EXISTS) "tmp\" $(MKDIR) "tmp"
|
||||
|
||||
|
||||
tmp\main.o: main.cpp
|
||||
$(CPP) -c main.cpp -o tmp\main.o $(CXXFLAGS)
|
||||
|
Loading…
Reference in a new issue