2012-12-18 13:38:01 -05:00
|
|
|
all: test.exe test-child.exe bench.exe
|
2012-05-16 10:08:24 -04:00
|
|
|
|
2012-12-18 13:16:48 -05:00
|
|
|
CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or \
|
|
|
|
/I ..\ext
|
2012-05-16 10:08:24 -04:00
|
|
|
|
|
|
|
LIBS = ..\..\..\build-alpha\lib\libevent.lib \
|
|
|
|
..\..\..\build-alpha\lib\libcrypto.lib \
|
|
|
|
..\..\..\build-alpha\lib\libssl.lib \
|
|
|
|
..\..\..\build-alpha\lib\libz.lib \
|
|
|
|
..\or\libtor.lib \
|
|
|
|
ws2_32.lib advapi32.lib shell32.lib
|
|
|
|
|
|
|
|
TEST_OBJECTS = test.obj test_addr.obj test_containers.obj \
|
|
|
|
test_crypto.obj test_data.obj test_dir.obj test_microdesc.obj \
|
|
|
|
test_pt.obj test_util.obj test_config.obj tinytest.obj
|
|
|
|
|
|
|
|
test.exe: $(TEST_OBJECTS)
|
|
|
|
$(CC) $(CFLAGS) $(LIBS) ..\common\*.lib $(TEST_OBJECTS)
|
|
|
|
|
2012-12-18 13:38:01 -05:00
|
|
|
bench.exe: bench.obj
|
|
|
|
$(CC) $(CFLAGS) bench.obj $(LIBS) ..\common\*.lib
|
|
|
|
|
|
|
|
test-child.exe: test-child.obj
|
|
|
|
$(CC) $(CFLAGS) test-child.obj
|
|
|
|
|
2012-05-16 10:08:24 -04:00
|
|
|
clean:
|
2012-12-18 13:38:01 -05:00
|
|
|
del *.obj *.lib test.exe bench.exe test-child.exe
|