diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 21:39:19 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-05 21:39:19 +0200 |
commit | a29c464aa72d46cc956ac2752a2518526c499716 (patch) | |
tree | 96eebb1fb5b0070d196e04db0b73486b39decc14 /src/Makefile.W32 | |
parent | df2c44401f8dd736a903e73813e5f83fb15b36b6 (diff) | |
download | crawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.gz crawler-a29c464aa72d46cc956ac2752a2518526c499716.tar.bz2 |
started to solve the logger dll problem on Windows
Diffstat (limited to 'src/Makefile.W32')
-rwxr-xr-x | src/Makefile.W32 | 12 |
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 |