diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-12 17:43:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-10-12 17:43:50 +0000 |
commit | b42e24a384ec4931bb43703928f569e768074e91 (patch) | |
tree | 9d689a1db006aef2437e322308812c832697f3cc /testing/tolua/config | |
parent | c8685c8c9bbe5d6220434a21aac63e011c487907 (diff) | |
download | aports-b42e24a384ec4931bb43703928f569e768074e91.tar.bz2 aports-b42e24a384ec4931bb43703928f569e768074e91.tar.xz |
testing/tolua: new aport
Tool to integrace C/C++ code in lua
http://www.tecgraf.puc-rio.br/~celes/tolua/
Diffstat (limited to 'testing/tolua/config')
-rw-r--r-- | testing/tolua/config | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/tolua/config b/testing/tolua/config new file mode 100644 index 0000000000..cf148eb13f --- /dev/null +++ b/testing/tolua/config @@ -0,0 +1,37 @@ +# 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 +CXX?= g++ +CCPP=$(CXX) +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) |