Browse Source

Add missing targets to src/test/Makefile.nmake. Fix for 7316

Nick Mathewson 11 years ago
parent
commit
9ddcd96149
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/test/Makefile.nmake

+ 8 - 2
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