summaryrefslogtreecommitdiff
path: root/tests/modules/libcommon/Makefile.W32
blob: 3dc28b6f9e049c9d31ee9086774b9d5dc9bd8e32 (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
TOPDIR = ..\..

SUBDIRS = testmod testmod2 testmod3

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

INCLUDE_CXXFLAGS = \
	/D_WIN32_WINNT=0x504 \
	/DBUILDING_CRAWLER /DBUILDING_UTIL

INCLUDE_DIRS = \
	/I. \
	/I$(TOPDIR)\src

INCLUDE_LDFLAGS = \

INCLUDE_LIBS = \
	$(TOPDIR)\src\crawler.lib

OBJS = 

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

test1.exe: test1.obj
test2.exe: test2.obj
test3.exe: test3.obj

# must build test2.lib first becase it contains DDL exports for the
# Common singleton
local_all: test2.exe

local_clean:
	@-erase -f *.RES *.DIFF *.ERR 2>NUL

local_distclean:

local_test:
	@-exec_test test1 "Module loader"
	@-exec_test test2 "Module loader with singleton"
	@-exec_test test3 "Load module in module"