Imported from ../lua-2.4.tar.gz.
[lua.git] / config
blobfbea80fe6b5d5a9019553f2414b06e750188fb3c
1 # configuration file for making Lua
3 # you need an ANSI C compiler
4 CC= gcc
5 WARN= -Wall -Wmissing-prototypes -Wshadow -ansi
7 # in SunOs 4.1.x, uncomment the following line to avoid prototypes warnings
8 # for standard functions
9 #EXTRA_INCS=  -I/usr/5include
11 # if you don't have popen() in your C library, comment the following line:
12 POPEN= -DPOPEN
14 # if your C library is not POSIX compliant, comment the following line:
15 POSIX= -DPOSIX
17 ### NO NEED TO CHANGE ANYTHING BELOW THIS LINE ================================
19 VERSION= 2.4
21 INC= $(LUA)/include
22 LIB= $(LUA)/lib
23 BIN= $(LUA)/bin
25 INCS= -I$(INC) $(EXTRA_INCS)
26 DEFS= $(EXTRA_DEFS)
28 CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)