TOPDIR = ..\.. SUBDIRS = testmod testmod2 testmod3 testmod4 !INCLUDE $(TOPDIR)\makefiles\nmake\platform.mk INCLUDE_CXXFLAGS = \ /D_WIN32_WINNT=0x504 /DSHARED INCLUDE_DIRS = \ /I. \ /I$(TOPDIR)\src \ /I$(TOPDIR)\include \ /I$(TOPDIR)\include\module \ /I$(TOPDIR)\include\util \ /I$(TOPDIR)\include\crawler \ /I$(TOPDIR)\tests\modules\libcommon INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ $(TOPDIR)\src\libutil\util.lib \ $(TOPDIR)\src\libcrawler\crawler.lib \ $(TOPDIR)\tests\modules\libcommon\common.lib TEST_CPP_BINS = \ test1.exe \ test2.exe \ test3.exe \ test4.exe OBJS = !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk test1.exe: test1.obj test2.exe: test2.obj test3.exe: test3.obj test4.exe: test4.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" @-exec_test test4 "Module initialization"