[tor-commits] [tor/master] Add missing targets to src/test/Makefile.nmake. Fix for 7316

nickm at torproject.org nickm at torproject.org
Thu Jan 17 03:32:41 UTC 2013


commit 9ddcd961490dff3b47d2b863b25cd85e0a4d8fea
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Dec 18 13:38:01 2012 -0500

    Add missing targets to src/test/Makefile.nmake. Fix for 7316
---
 src/test/Makefile.nmake |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/test/Makefile.nmake b/src/test/Makefile.nmake
index 9580e39..1b0660c 100644
--- a/src/test/Makefile.nmake
+++ b/src/test/Makefile.nmake
@@ -1,4 +1,4 @@
-all: test.exe
+all: test.exe test-child.exe bench.exe
 
 CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or \
     /I ..\ext
@@ -17,5 +17,11 @@ TEST_OBJECTS = test.obj test_addr.obj test_containers.obj \
 test.exe: $(TEST_OBJECTS)
 	$(CC) $(CFLAGS) $(LIBS) ..\common\*.lib $(TEST_OBJECTS)
 
+bench.exe: bench.obj
+	$(CC) $(CFLAGS) bench.obj $(LIBS) ..\common\*.lib
+
+test-child.exe: test-child.obj
+	$(CC) $(CFLAGS) test-child.obj
+
 clean:
-	del $(TEST_OBJECTS) *.lib test.exe
+	del *.obj *.lib test.exe bench.exe test-child.exe





More information about the tor-commits mailing list