diff options
| author | tomas <tomas> | 2005-06-06 20:10:10 +0000 |
|---|---|---|
| committer | tomas <tomas> | 2005-06-06 20:10:10 +0000 |
| commit | 9f9257647e4448b4eb47fe59d72be34b8de2b28e (patch) | |
| tree | 24a8037326c598a06855587bbd69e9868c58dbd3 | |
| parent | 95bd727a3d6e1c14c40306853d2e6b6662d4a3f2 (diff) | |
| download | luafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.tar.gz luafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.tar.bz2 luafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.zip | |
Excluding -ldl option (it seems not necessary).
Including configurable config file.
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | config | 4 |
2 files changed, 5 insertions, 4 deletions
| @@ -1,9 +1,10 @@ | |||
| 1 | # $Id: Makefile,v 1.21 2005/06/05 00:36:18 tomas Exp $ | 1 | # $Id: Makefile,v 1.22 2005/06/06 20:10:10 tomas Exp $ |
| 2 | 2 | ||
| 3 | T= lfs | 3 | T= lfs |
| 4 | V= 1.1 | 4 | V= 1.1 |
| 5 | CONFIG= ./config | ||
| 5 | 6 | ||
| 6 | include ./config | 7 | include $(CONFIG) |
| 7 | 8 | ||
| 8 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o | 9 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o |
| 9 | SRCS= src/$T.c | 10 | SRCS= src/$T.c |
| @@ -13,7 +13,7 @@ COMPAT_DIR= ../compat/src | |||
| 13 | 13 | ||
| 14 | # Compilation directives | 14 | # Compilation directives |
| 15 | # On FreeBSD systems, the following line should be commented | 15 | # On FreeBSD systems, the following line should be commented |
| 16 | DLLIB= -ldl | 16 | #DLLIB= -ldl |
| 17 | #LUA_LIBS= -llua50 -lm | 17 | #LUA_LIBS= -llua50 -lm |
| 18 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings | 18 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings |
| 19 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) | 19 | INCS= -I$(LUA_INC) -I$(COMPAT_DIR) |
| @@ -21,4 +21,4 @@ LIBS= $(LUA_LIBS) $(DLLIB) | |||
| 21 | CFLAGS= $(WARN) $(INCS) | 21 | CFLAGS= $(WARN) $(INCS) |
| 22 | CC= gcc | 22 | CC= gcc |
| 23 | 23 | ||
| 24 | # $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $ | 24 | # $Id: config,v 1.12 2005/06/06 20:10:10 tomas Exp $ |
