Imported from ../lua-3.0.tar.gz.
[lua.git] / config
blob4de15702307043d0b19b7c3e87a807ddba231d11
1 # configuration file for making Lua
3 # you need an ANSI C compiler
4 CC= gcc
5 WARN= -ansi -Wall
7 # for SGI's with cc
8 #CC= cc
9 #WARN= -ansi -fullwarn
11 # in SunOs 4.1.x, uncomment the following line to avoid prototypes warnings
12 # for standard functions:
13 #EXTRA_INCS=  -I/usr/5include
15 # if you don't have popen() in your C library, comment the following line:
16 POPEN= -DPOPEN
18 # if your C library is not POSIX compliant, comment the following line:
19 POSIX= -D_POSIX_SOURCE
21 # if you don't have strerror() in your C library, uncomment the following line:
22 #NOSTRERROR= -DNOSTRERROR
24 # if your system doesn't have (or need) ranlib, change "ranlib" to "true":
25 RANLIB=ranlib
27 ### NO NEED TO CHANGE ANYTHING BELOW THIS LINE ================================
29 VERSION= 3.0
31 INC= $(LUA)/include
32 LIB= $(LUA)/lib
33 BIN= $(LUA)/bin
35 INCS= -I$(INC) $(EXTRA_INCS)
36 DEFS= $(EXTRA_DEFS)
38 CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)