summaryrefslogtreecommitdiff
path: root/config
blob: 4de15702307043d0b19b7c3e87a807ddba231d11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# configuration file for making Lua

# you need an ANSI C compiler
CC= gcc
WARN= -ansi -Wall

# for SGI's with cc
#CC= cc
#WARN= -ansi -fullwarn

# in SunOs 4.1.x, uncomment the following line to avoid prototypes warnings
# for standard functions:
#EXTRA_INCS=  -I/usr/5include

# if you don't have popen() in your C library, comment the following line:
POPEN= -DPOPEN

# if your C library is not POSIX compliant, comment the following line:
POSIX= -D_POSIX_SOURCE

# if you don't have strerror() in your C library, uncomment the following line:
#NOSTRERROR= -DNOSTRERROR

# if your system doesn't have (or need) ranlib, change "ranlib" to "true":
RANLIB=ranlib

### NO NEED TO CHANGE ANYTHING BELOW THIS LINE ================================

VERSION= 3.0

INC= $(LUA)/include
LIB= $(LUA)/lib
BIN= $(LUA)/bin

INCS= -I$(INC) $(EXTRA_INCS)
DEFS= $(EXTRA_DEFS)

CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)