1 all: test.exe bench.exe
3 CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or \
6 LIBS = ..\..\..\build-alpha\lib\libevent.lib \
7 ..\..\..\build-alpha\lib\libcrypto.lib \
8 ..\..\..\build-alpha\lib\libssl.lib \
9 ..\..\..\build-alpha\lib\libz.lib \
11 ws2_32.lib advapi32.lib shell32.lib \
12 crypt32.lib gdi32.lib user32.lib
14 TEST_OBJECTS = test.obj test_addr.obj test_channel.obj test_channeltls.obj \
15 test_consdiff.obj test_containers.obj \
16 test_controller_events.obj test_crypto.obj test_data.obj test_dir.obj \
17 test_checkdir.obj test_microdesc.obj test_pt.obj test_util.obj \
18 test_config.obj test_connection.obj \
19 test_cell_formats.obj test_relay.obj test_replay.obj \
20 test_channelpadding.obj \
21 test_circuitstats.obj \
22 test_circuitpadding.obj \
23 test_scheduler.obj test_introduce.obj test_hs.obj tinytest.obj
25 tinytest.obj: ..\ext\tinytest.c
26 $(CC) $(CFLAGS) /D snprintf=_snprintf /c ..\ext\tinytest.c
28 test.exe: $(TEST_OBJECTS)
29 $(CC) $(CFLAGS) $(LIBS) ..\common\*.lib $(TEST_OBJECTS) /Fe$@
32 $(CC) $(CFLAGS) bench.obj $(LIBS) ..\common\*.lib /Fe$@
35 del *.obj *.lib test.exe bench.exe