1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 11:42:23 -05:00
davmail/jsmooth-0.9.9-7-patch/skeletons/util-core/Makefile.win
mguessan 448c2f5f7a Jsmooth patch with 64 bits skeletons
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1697 3d1905a2-6b24-0410-a738-b14d5a86fcbd
2011-06-07 08:46:33 +00:00

33 lines
1019 B
Makefile

# Project: util-core
PROJECTNAME=util-core
RM = rm -f
CPP = ${MINGW}/bin/${TARGET}-g++.exe
CC = ${MINGW}/bin/${TARGET}-gcc.exe
WINDRES = windres.exe
MINGW =
RES =
OBJ = SingleInstanceManager.o Process.o Log.o Thread.o FileUtils.o StringUtils.o DebugConsole.o $(RES)
LIBS = -static-libgcc -L"$(MINGW)/lib"
INCS = -I"$(MINGW)/include" -I"$(JDK)/include" -I"$(JDK)/include/win32"
CXXINCS = -Os -I"$(MINGW)/include/c++" -I"$(MINGW)/include/c++/mingw32" -I"$(MINGW)/include/c++/backward" -I"$(MINGW)/include" -I"$(JDK)/include" -I"$(JDK)/include/win32"
BIN = $(PROJECTNAME).a
CXXFLAGS = $(CUSTOMFLAGS) $(CXXINCS) -DJDK="$(JDK)"
CFLAGS = $(INCS)
.PHONY: all all-before all-after clean clean-custom $(PROJECTNAME)
all: all-before $(PROJECTNAME).a testmain.cpp all-after
clean: clean-custom
$(RM) $(OBJ) $(BIN) testmain.o test.exe
$(BIN): $(OBJ)
ar r $(BIN) $(OBJ)
ranlib $(BIN)
$(CPP) $(OBJ) testmain.o -o test.exe $(LIBS)
$(PROJECTNAME).a: $(OBJ) testmain.o