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