diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 08:59:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 08:59:02 +0200 |
commit | 7d8b1ff684b412da292e0fc734748975188a0f10 (patch) | |
tree | 2673e3da51cc80bfc38a426048b30a4d71c31d4c /tolua/config | |
parent | 62c5bb90525baf0d82c23892c2666f611750d63c (diff) | |
download | crawler-7d8b1ff684b412da292e0fc734748975188a0f10.tar.gz crawler-7d8b1ff684b412da292e0fc734748975188a0f10.tar.bz2 |
first trials with a Google normalizer called from Lua, std::string is the problem currently
and the missing wrapper for the URL class
also added a local 'tolua', we will have to hack it
Diffstat (limited to 'tolua/config')
-rw-r--r-- | tolua/config | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tolua/config b/tolua/config new file mode 100644 index 0000000..d69bfaf --- /dev/null +++ b/tolua/config @@ -0,0 +1,36 @@ +# configuration file for making tolua + +# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ====================== + +# you need an ANSI C compiler. gcc is a popular one. +CC= gcc +CCPP = g++ +WARN= -ansi -Wall -g + +# on SGI's, cc is ANSI. +#CC= cc +#WARN= -ansi -fullwarn + +# if your system doesn't have (or need) ranlib, change "ranlib" to "true". +# on some systems, "ar s" does it. +RANLIB= ranlib +#RANLIB= ar s +#RANLIB= true + +# this should work in all unix systems. +AR= ar rcu + +# set lua path +LUA=/usr/local +LUAINC=$(LUA)/include +LUALIB=$(LUA)/lib + +# == END OF USER SETTINGS. DO NOT CHANGE ANYTHING BELOW THIS LINE ============ + +INC= -I$(TOLUA)/include -I$(LUAINC) +LIB= -L$(TOLUA)/lib -L$(LUALIB) + +#CFLAGS= -O2 $(WARN) $(INC) +#CPPFLAGS= -O2 $(WARN) $(INC) +CFLAGS= -g $(WARN) $(INC) +CPPFLAGS= -g $(WARN) $(INC) |