summaryrefslogtreecommitdiff
path: root/tests/log/Makefile.W32
blob: c0e0874edccac888112cf5b2c0c4457b4b85922c (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
34
35
36
37
38
39
40
41
42
43
44
45
TOPDIR = ..\..

SUBDIRS =

INCLUDE_DIRS = \
	/I$(TOPDIR)\include\wolf /I. \
	/D_WIN32_WINNT=0x400 /I"$(PLATFORM_SDK_DIR)\Include"

INCLUDE_LDFLAGS = \
	/LIBPATH:"$(PLATFORM_SDK_DIR)\lib"

INCLUDE_LIBS = \
	$(TOPDIR)\src\wolf.lib \
	advapi32.lib kernel32.lib

LIBRARIES = \
	testmsg.dll

TEST_BINS = \
	test_log.exe

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

test_log.exe: test_log.obj $(TOPDIR)\src\wolf.lib

testmsg.dll: testmsg.res
	$(LINK) /dll /nologo /noentry /MACHINE:x86 /out:$@ $?

testmsg.rc: testmsg.mc
testmsg.res: testmsg.rc

local_test: $(LIBRARIES)
	@echo Testing log..
	@copy testmsg.dll C:\TEMP >NUL 
	@test_log 2>NUL

local_all:

local_clean:
	@-erase test.log 2>NUL
	@-erase $(LIBRARIES) testmsg.h 2>NUL

local_distclean: