diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-16 10:08:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-16 10:08:24 -0400 |
commit | d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c (patch) | |
tree | aaa30f6162272c0eb1c940df4579f57400ecf7aa /src/test/Makefile.nmake | |
parent | d5ccaa6e2b8c73a1d9d43b82c782c7b10557fe5c (diff) | |
download | tor-d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c.tar.gz tor-d9ceab5bc3611fa6ed4e2f58d38ff26860eeeb3c.zip |
Fix some remaining nmake/msvc build issues
Diffstat (limited to 'src/test/Makefile.nmake')
-rw-r--r-- | src/test/Makefile.nmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/Makefile.nmake b/src/test/Makefile.nmake new file mode 100644 index 0000000000..aec477cf99 --- /dev/null +++ b/src/test/Makefile.nmake @@ -0,0 +1,20 @@ +all: test.exe + +CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or + +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) + +clean: + del $(TEST_OBJECTS) *.lib test.exe |