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
29
src/Makefile.mingw
Executable file
29
src/Makefile.mingw
Executable file
|
@ -0,0 +1,29 @@
|
|||
|
||||
CPP = g++
|
||||
CC = gcc
|
||||
OBJ = Singleton.o SmallObj.o
|
||||
LINKOBJ = Singleton.o SmallObj.o
|
||||
LIBS = -L"C:/Programme/Dev-Cpp/lib" -g3
|
||||
CXXINCS = -I"..\include" -I"..\include\loki"
|
||||
BIN = ../lib/libloki.a
|
||||
CXXFLAGS = $(CXXINCS) -Wall -pedantic -g3
|
||||
CFLAGS = $(INCS) -g3
|
||||
RM = rm -f
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before ../lib/libloki.a all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
${RM} $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(LINKOBJ)
|
||||
ar r $(BIN) $(LINKOBJ)
|
||||
ranlib $(BIN)
|
||||
|
||||
Singleton.o: Singleton.cpp
|
||||
$(CPP) -c Singleton.cpp -o Singleton.o $(CXXFLAGS)
|
||||
|
||||
SmallObj.o: SmallObj.cpp
|
||||
$(CPP) -c SmallObj.cpp -o SmallObj.o $(CXXFLAGS)
|
Loading…
Add table
Add a link
Reference in a new issue