summaryrefslogtreecommitdiff
path: root/clients/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'clients/lib/Makefile')
-rw-r--r--clients/lib/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/clients/lib/Makefile b/clients/lib/Makefile
index 70750979..ffe2a63f 100644
--- a/clients/lib/Makefile
+++ b/clients/lib/Makefile
@@ -1,17 +1,10 @@
# makefile for lualib
-INC= $(LUA)/include
-LIB= $(LUA)/lib
+LUA= ../..
-# in SunOs /usr/5include contains prototypes for standard lib
-INCS= -I/usr/5include -I$(INC)
-WARN= -Wall -Wmissing-prototypes -Wshadow -ansi
+include $(LUA)/config
-# if your system does not have popen, remove -DPOPEN from the line below
-DEFS= -DPOPEN
-
-CC= gcc
-CFLAGS= $(INCS) $(DEFS) $(WARN) -O2
+EXTRA_DEFS= $(POPEN)
OBJS= iolib.o mathlib.o strlib.o
SRCS= iolib.c mathlib.c mathlib.h strlib.c strlib.h