From 82c2b858633c9992ce7560a0b21f37329904a300 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 20 May 2010 15:53:17 +0200 Subject: got to first error message on Windows (library loader) --- tests/Makefile.W32 | 2 +- tests/library/Makefile.W32 | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 tests/library/Makefile.W32 (limited to 'tests') diff --git a/tests/Makefile.W32 b/tests/Makefile.W32 index 2b592c9..13f17c4 100644 --- a/tests/Makefile.W32 +++ b/tests/Makefile.W32 @@ -1,6 +1,6 @@ TOPDIR = .. -SUBDIRS = threads port log network service +SUBDIRS = threads port log network service library !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk diff --git a/tests/library/Makefile.W32 b/tests/library/Makefile.W32 new file mode 100644 index 0000000..4ebcab9 --- /dev/null +++ b/tests/library/Makefile.W32 @@ -0,0 +1,28 @@ +TOPDIR = ..\.. + +INCLUDE_DIRS = \ + /I$(TOPDIR)\include\wolf /I. /I$(TOPDIR)\src \ + /D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include" + +INCLUDE_LDFLAGS = \ + /LIBPATH:"$(PLATFORM_SDK_DIR)\lib" + +INCLUDE_LIBS = \ + $(TOPDIR)\src\wolf.lib + +TEST_BINS = \ + test_loader.exe + +!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk + +test_loader.exe: test_loader.obj $(TOPDIR)\src\wolf.lib + +local_all: + +local_clean: + +local_distclean: + +local_test: $(LIBRARIES) + @echo Testing loading of a library and executing a function therein.. + @test_loader 2>NUL -- cgit v1.2.3-54-g00ecf