summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorLua Team <team@lua.org>1996-05-14 12:00:00 +0000
committerrepogen <>1996-05-14 12:00:00 +0000
commit721542976ebc89f2f8d17d19be7e4426570b69be (patch)
tree0c79a45c63aa89d6e4b8ac80931e46d74a72f8cb /config
parent71754d2f6423fb9b6e87658e58bafc5470d53f65 (diff)
downloadlua-github-2.4.tar.gz
Lua 2.42.4
Diffstat (limited to 'config')
-rw-r--r--config28
1 files changed, 28 insertions, 0 deletions
diff --git a/config b/config
new file mode 100644
index 00000000..fbea80fe
--- /dev/null
+++ b/config
@@ -0,0 +1,28 @@
+# configuration file for making Lua
+
+# you need an ANSI C compiler
+CC= gcc
+WARN= -Wall -Wmissing-prototypes -Wshadow -ansi
+
+# 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= -DPOSIX
+
+### NO NEED TO CHANGE ANYTHING BELOW THIS LINE ================================
+
+VERSION= 2.4
+
+INC= $(LUA)/include
+LIB= $(LUA)/lib
+BIN= $(LUA)/bin
+
+INCS= -I$(INC) $(EXTRA_INCS)
+DEFS= $(EXTRA_DEFS)
+
+CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)