/[libspopc]/Makefile.win
ViewVC logotype

Contents of /Makefile.win

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9 - (show annotations)
Sun Apr 18 12:43:17 2010 UTC (9 years, 5 months ago) by ben
File size: 1635 byte(s)
added binaries for windummies
1 # Project: libspopc
2 # Makefile created by Dev-C++ 4.9.9.2
3
4 CPP = g++.exe
5 CC = gcc.exe
6 WINDRES = windres.exe
7 RES =
8 OBJ = format.o libspopc.o mutex.o objects.o parsing.o queries.o session.o $(RES)
9 LINKOBJ = format.o libspopc.o mutex.o objects.o parsing.o queries.o session.o $(RES)
10 LIBS = -L"C:/Dev-Cpp/lib" --no-export-all-symbols --add-stdcall-alias C:/Dev-Cpp/lib/libwsock32.a C:/OpenSSL/lib/MinGW/libeay32.a C:/OpenSSL/lib/MinGW/ssleay32.a
11 INCS = -I"C:/Dev-Cpp/include"
12 CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
13 BIN = libspopc.dll
14 CXXFLAGS = $(CXXINCS) -DBUILDING_DLL=1
15 CFLAGS = $(INCS) -DBUILDING_DLL=1 -DUSE_SSL -I C:\OpenSSL\include
16 RM = rm -f
17
18 .PHONY: all all-before all-after clean clean-custom
19
20 all: all-before libspopc.dll all-after
21
22
23 clean: clean-custom
24 ${RM} $(OBJ) $(BIN)
25
26 DLLWRAP=dllwrap.exe
27 DEFFILE=liblibspopc.def
28 STATICLIB=liblibspopc.a
29
30 $(BIN): $(LINKOBJ)
31 $(DLLWRAP) --output-def $(DEFFILE) --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)
32
33 format.o: format.c
34 $(CC) -c format.c -o format.o $(CFLAGS)
35
36 libspopc.o: libspopc.c
37 $(CC) -c libspopc.c -o libspopc.o $(CFLAGS)
38
39 mutex.o: mutex.c
40 $(CC) -c mutex.c -o mutex.o $(CFLAGS)
41
42 objects.o: objects.c
43 $(CC) -c objects.c -o objects.o $(CFLAGS)
44
45 parsing.o: parsing.c
46 $(CC) -c parsing.c -o parsing.o $(CFLAGS)
47
48 queries.o: queries.c
49 $(CC) -c queries.c -o queries.o $(CFLAGS)
50
51 session.o: session.c
52 $(CC) -c session.c -o session.o $(CFLAGS)

  ViewVC Help
Powered by ViewVC 1.1.26