mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
38 lines
824 B
Plaintext
38 lines
824 B
Plaintext
# 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)
|