diff options
Diffstat (limited to 'otr/Makefile.win')
-rw-r--r-- | otr/Makefile.win | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/otr/Makefile.win b/otr/Makefile.win new file mode 100644 index 0000000..c40937a --- /dev/null +++ b/otr/Makefile.win @@ -0,0 +1,46 @@ +# Project: otr
+# Makefile created by Dev-C++ 4.9.9.2
+
+CPP = g++.exe
+CC = gcc.exe
+WINDRES = windres.exe
+RES = otr_private.res
+OBJ = dllmain.o options.o menu.o utils.o $(RES)
+LINKOBJ = dllmain.o options.o menu.o utils.o $(RES)
+LIBS = -L"lib" -L"C:/rcslib-2005.June/lib" -L"C:/wxWidgets-2.6.2/lib" -L"C:/SDL-1.2.9/src/.libs" -L"C:/msys/1.0/local/lib" -lcomctl32 -lotr -lgcrypt -lgpg-error -s -s
+INCS = -I"include" -I"C:/rcslib-2005.June/include" -I"C:/msys/1.0/local/include" -I"C:/msys/1.0/local/include/libotr"
+CXXINCS = -I"lib/gcc/mingw32/3.4.2/include" -I"include/c++/3.4.2/backward" -I"include/c++/3.4.2/mingw32" -I"include/c++/3.4.2" -I"include" -I"C:/rcslib-2005.June/include" -I"C:/wxWidgets-2.6.2/lib/wx/include/msw-ansi-release-2.6" -I"C:/wxWidgets-2.6.2/include" -I"C:/SDL-1.2.9/include" -I"C:/msys/1.0/local/include" -I"C:/msys/1.0/local/include/libotr"
+BIN = otr.dll
+CXXFLAGS = $(CXXINCS) -DBUILDING_DLL=1 -O3 -s -fexpensive-optimizations -O3
+CFLAGS = $(INCS) -DBUILDING_DLL=1 -fexpensive-optimizations -O3
+RM = rm -f
+
+.PHONY: all all-before all-after clean clean-custom
+
+all: all-before otr.dll all-after
+
+
+clean: clean-custom
+ ${RM} $(OBJ) $(BIN)
+
+DLLWRAP=dllwrap.exe
+DEFFILE=libotr.def
+STATICLIB=libotr.a
+
+$(BIN): $(LINKOBJ)
+ $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)
+
+dllmain.o: dllmain.cpp
+ $(CPP) -c dllmain.cpp -o dllmain.o $(CXXFLAGS)
+
+options.o: options.cpp
+ $(CPP) -c options.cpp -o options.o $(CXXFLAGS)
+
+menu.o: menu.cpp
+ $(CPP) -c menu.cpp -o menu.o $(CXXFLAGS)
+
+utils.o: utils.cpp
+ $(CPP) -c utils.cpp -o utils.o $(CXXFLAGS)
+
+otr_private.res: otr_private.rc resource.rc
+ $(WINDRES) -i otr_private.rc --input-format=rc -o otr_private.res -O coff
|