nmake script for tests missing build targets
src/test/Makefile.nmake only builds test.exe and omits test-child.exe (required part of test.exe unit tests) and bench.exe (a set of benchmarks). The following patch fixes that: ``` diff --git a/src/test/Makefile.nmake b/src/test/Makefile.nmake index aec477c..8ab077a 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 @@ -16,5 +16,11 @@ TEST_OBJECTS = test.obj test_addr.obj test_containers.obj \ test.exe: $(TEST_OBJECTS) $(CC) $(CFLAGS) $(LIBS) ..\common\*.lib $(TEST_OBJECTS) +test-child.exe: test-child.obj + $(CC) test-child.obj + +bench.exe: bench.obj + $(CC) bench.obj $(LIBS) ..\common\*.lib + clean: del $(TEST_OBJECTS) *.lib test.exe ``` **Trac**: **Username**: ultramage
issue