diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | config | 4 |
2 files changed, 5 insertions, 5 deletions
@@ -1,12 +1,10 @@ | |||
1 | # $Id: Makefile,v 1.20 2005/06/04 18:22:29 tomas Exp $ | 1 | # $Id: Makefile,v 1.21 2005/06/05 00:36:18 tomas Exp $ |
2 | 2 | ||
3 | T= lfs | 3 | T= lfs |
4 | V= 1.1 | ||
4 | 5 | ||
5 | include ./config | 6 | include ./config |
6 | 7 | ||
7 | V= 1.1 | ||
8 | LIBNAME= lib$T.$V.so | ||
9 | |||
10 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o | 8 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o |
11 | SRCS= src/$T.c | 9 | SRCS= src/$T.c |
12 | OBJS= src/$T.o $(COMPAT_O) | 10 | OBJS= src/$T.o $(COMPAT_O) |
@@ -5,9 +5,10 @@ LUA_LIBDIR= /usr/local/lib/lua/5.0 | |||
5 | LUA_INC= /usr/local/include/lua5 | 5 | LUA_INC= /usr/local/include/lua5 |
6 | 6 | ||
7 | # OS dependent | 7 | # OS dependent |
8 | #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X | ||
9 | LIB_OPTION= -shared #for Linux | 8 | LIB_OPTION= -shared #for Linux |
9 | #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X | ||
10 | 10 | ||
11 | LIBNAME= lib$T-$V.so | ||
11 | COMPAT_DIR= ../compat/src | 12 | COMPAT_DIR= ../compat/src |
12 | 13 | ||
13 | # Compilation directives | 14 | # Compilation directives |
@@ -20,3 +21,4 @@ LIBS= $(LUA_LIBS) $(DLLIB) | |||
20 | CFLAGS= $(WARN) $(INCS) | 21 | CFLAGS= $(WARN) $(INCS) |
21 | CC= gcc | 22 | CC= gcc |
22 | 23 | ||
24 | # $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $ | ||