OLD | NEW |
| (Empty) |
1 | |
2 CFLAGS=/I.. /I../include /I../WIN32-Code /I../compat /DWIN32 /DHAVE_CONFIG_H | |
3 | |
4 CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo | |
5 | |
6 REGRESS_OBJS=regress.obj regress_http.obj regress_dns.obj \ | |
7 regress_rpc.obj regress.gen.obj \ | |
8 | |
9 OTHER_OBJS=test-init.obj test-eof.obj test-weof.obj test-time.obj \ | |
10 bench.obj bench_cascade.obj bench_http.obj bench_httpclient.obj | |
11 | |
12 PROGRAMS=regress.exe \ | |
13 test-init.exe test-eof.exe test-weof.exe test-time.exe | |
14 | |
15 # Disabled for now: | |
16 # bench.exe bench_cascade.exe bench_http.exe bench_httpclient.exe | |
17 | |
18 | |
19 LIBS=..\libevent.lib ws2_32.lib advapi32.lib | |
20 | |
21 all: $(PROGRAMS) | |
22 | |
23 regress.exe: $(REGRESS_OBJS) | |
24 $(CC) $(CFLAGS) $(LIBS) $(REGRESS_OBJS) | |
25 | |
26 test-init.exe: test-init.obj | |
27 $(CC) $(CFLAGS) $(LIBS) test-init.obj | |
28 test-eof.exe: test-eof.obj | |
29 $(CC) $(CFLAGS) $(LIBS) test-eof.obj | |
30 test-weof.exe: test-weof.obj | |
31 $(CC) $(CFLAGS) $(LIBS) test-weof.obj | |
32 test-time.exe: test-time.obj | |
33 $(CC) $(CFLAGS) $(LIBS) test-time.obj | |
34 | |
35 bench.exe: bench.obj | |
36 $(CC) $(CFLAGS) $(LIBS) bench.obj | |
37 bench_cascade.exe: bench_cascade.obj | |
38 $(CC) $(CFLAGS) $(LIBS) bench_cascade.obj | |
39 bench_http.exe: bench_http.obj | |
40 $(CC) $(CFLAGS) $(LIBS) bench_http.obj | |
41 bench_httpclient.exe: bench_httpclient.obj | |
42 $(CC) $(CFLAGS) $(LIBS) bench_httpclient.obj | |
43 | |
44 clean: | |
45 -del $(REGRESS_OBJS) | |
46 -del $(OTHER_OBJS) | |
47 -del regress.exe | |
OLD | NEW |