summaryrefslogtreecommitdiff
path: root/tests/library
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-20 15:53:17 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-20 15:53:17 +0200
commit82c2b858633c9992ce7560a0b21f37329904a300 (patch)
tree6b806437ba79044cb3f5df11effa87314dc9beaf /tests/library
parenteb26859dbd0240789ee8c5c02a65d784e664987a (diff)
downloadwolfbones-82c2b858633c9992ce7560a0b21f37329904a300.tar.gz
wolfbones-82c2b858633c9992ce7560a0b21f37329904a300.tar.bz2
got to first error message on Windows (library loader)
Diffstat (limited to 'tests/library')
-rw-r--r--tests/library/Makefile.W3228
1 files changed, 28 insertions, 0 deletions
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