summaryrefslogtreecommitdiff
path: root/tests/threads/Makefile.W32
blob: 33cd8a6fd51a6a674ac7af1559a1ec5a7e99bd52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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_create_join.exe \
	test_counter_mutex.exe

!INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk

# TODO: what is the autogeneration rule for NMAKE?
test_create_join.exe: test_create_join.obj
test_counter_mutex.exe: test_counter_mutex.obj

local_all:

local_clean:

local_distclean:

local_test:
	@echo Testing creating,joining of threads..
	@test_create_join >NUL
	@echo Testing mutex..
	@test_counter_mutex >NUL