From a29c464aa72d46cc956ac2752a2518526c499716 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Wed, 5 Sep 2012 21:39:19 +0200 Subject: started to solve the logger dll problem on Windows --- src/Makefile.W32 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/Makefile.W32') diff --git a/src/Makefile.W32 b/src/Makefile.W32 index 604b8c4..ffcbe27 100755 --- a/src/Makefile.W32 +++ b/src/Makefile.W32 @@ -8,11 +8,15 @@ INCLUDE_CXXFLAGS = \ /D_WIN32_WINNT=0x504 INCLUDE_DIRS = \ - /I. + /I. \ + /I$(TOPDIR)\include\logger \ + /I$(TOPDIR)\include\module \ + /I$(TOPDIR)\include\util INCLUDE_LDFLAGS = \ INCLUDE_LIBS = \ + $(TOPDIR)\src\logger\logger.lib \ Ws2_32.lib LOCAL_STATIC_LIB_OBJS = \ @@ -33,6 +37,11 @@ CPP_BINS = \ !INCLUDE $(TOPDIR)\makefiles\nmake\sub.mk +all: dependencies $(CPP_OBJS) $(CPP_BINS) + +dependencies: + cd logger & $(MAKE) /nologo /f Makefile.w32 all + crawl.exe: crawl.obj $(CPP_OBJS) $(LOCAL_STATIC_LIB): $(LOCAL_STATIC_LIB_OBJS) @@ -52,6 +61,7 @@ local_test: copy_prereq: @-copy "$(ICU_DIR)\bin\icuuc49.dll" . >NUL @-copy "$(ICU_DIR)\bin\icudt49.dll" . >NUL + @-copy "$(TOPDIR)\src\logger\logger.dll" . >NUL run: copy_prereq @-crawl.exe -- cgit v1.2.3-54-g00ecf