summaryrefslogtreecommitdiff
path: root/src/Makefile.W32
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-05 21:39:19 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-05 21:39:19 +0200
commita29c464aa72d46cc956ac2752a2518526c499716 (patch)
tree96eebb1fb5b0070d196e04db0b73486b39decc14 /src/Makefile.W32
parentdf2c44401f8dd736a903e73813e5f83fb15b36b6 (diff)
downloadcrawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.gz
crawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.bz2
started to solve the logger dll problem on Windows
Diffstat (limited to 'src/Makefile.W32')
-rwxr-xr-xsrc/Makefile.W3212
1 files changed, 11 insertions, 1 deletions
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