diff options
| author | Lua Team <team@lua.org> | 1995-11-28 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 1995-11-28 12:00:00 +0000 |
| commit | 71754d2f6423fb9b6e87658e58bafc5470d53f65 (patch) | |
| tree | c704e97b80e52a52d3152738941bb4c8ca676b97 /clients/lib/Makefile | |
| parent | a8b6ba0954edb9e0e669e1f451b9a8f145ce5166 (diff) | |
| download | lua-github-2.2.tar.gz | |
Lua 2.22.2
Diffstat (limited to 'clients/lib/Makefile')
| -rw-r--r-- | clients/lib/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/clients/lib/Makefile b/clients/lib/Makefile index b191b750..70750979 100644 --- a/clients/lib/Makefile +++ b/clients/lib/Makefile @@ -7,15 +7,19 @@ LIB= $(LUA)/lib INCS= -I/usr/5include -I$(INC) WARN= -Wall -Wmissing-prototypes -Wshadow -ansi +# if your system does not have popen, remove -DPOPEN from the line below +DEFS= -DPOPEN + CC= gcc CFLAGS= $(INCS) $(DEFS) $(WARN) -O2 OBJS= iolib.o mathlib.o strlib.o +SRCS= iolib.c mathlib.c mathlib.h strlib.c strlib.h SLIB= $(LIB)/liblualib.a # dynamic libraries only work for SunOs -DLIB= $(LIB)/liblualib.so.2.1 +DLIB= $(LIB)/liblualib.so.$(VERSION) all: $(SLIB) @@ -32,4 +36,7 @@ clean: rm -f $(OBJS) $(SLIB) $(DLIB) co: - co -M iolib.c mathlib.c mathlib.h strlib.c strlib.h + co -f -M $(SRCS) + +klean: clean + rm -f $(SRCS) |
