1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 19:52:21 -05:00
davmail/jsmooth-0.9.9-7-patch/skeletons/simplewrap/Makefile.win

33 lines
1.2 KiB
Makefile
Raw Normal View History

# Project: JWrap
# Makefile created by Dev-C++ 4.9.8.0
CPP = ${MINGW}/bin/${TARGET}-g++.exe
CC = ${MINGW}/bin/${TARGET}-gcc.exe
WINDRES = windres.exe
RES = JWrap_private.res
OBJ = main.o $(RES)
LINKOBJ = main.o $(RES)
LIBS = -static-libgcc -L"${MINGW}/lib" -L"../commonjava" -L"../util-core" -mwindows ../commonjava/CommonJava.a ../util-core/util-core.a
INCS = -I"/include" -I"$(JDK)/include/win32" -I"$(JDK)/include" -I"../commonjava" -I"../util-core"
CXXINCS = -I"$(MINGW)/include/c++" -I"$(MINGW)/include/c++/mingw32" -I"$(MINGW)/include/c++/backward" -I"$(MINGW)/include" -I"$(JDK)/include" -I"$(JDK)/include/win32" -I"../commonjava" -I"../util-core" -I"../util-net" $(FLTK-CXXFLAGS)
BIN = JWrap.exe
CXXFLAGS = $(CUSTOMFLAGS) $(CXXINCS) -DJDK="$(JDK)"
CFLAGS = $(INCS)
.PHONY: all all-before all-after clean clean-custom
all: all-before JWrap.exe all-after
clean: clean-custom
$(RM) $(OBJ) $(BIN) JWrap_private.res
$(BIN): $(LINKOBJ) ../commonjava/CommonJava.a
$(CPP) $(LINKOBJ) -o "JWrap.exe" $(LIBS)
main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
JWrap_private.res: JWrap_private.rc mainres.rc
$(WINDRES) -i JWrap_private.rc -J rc -o JWrap_private.res -O coff