mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 20:33:06 +00:00
Pequenas melhorias no processo de compilacao.
This commit is contained in:
3
Makefile
3
Makefile
@@ -1,4 +1,4 @@
|
|||||||
# $Id: Makefile,v 1.6 2004/10/15 10:07:53 tomas Exp $
|
# $Id: Makefile,v 1.7 2004/10/15 10:45:18 tomas Exp $
|
||||||
|
|
||||||
T= lfs
|
T= lfs
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@ $(LIBNAME): $(OBJS)
|
|||||||
$(CC) $(CFLAGS) $(LIB_OPTION) -o $(LIBNAME) $(OBJS) $(LIBS)
|
$(CC) $(CFLAGS) $(LIB_OPTION) -o $(LIBNAME) $(OBJS) $(LIBS)
|
||||||
|
|
||||||
compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
|
compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c
|
||||||
|
$(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c
|
||||||
|
|
||||||
install: $(LIBNAME)
|
install: $(LIBNAME)
|
||||||
mkdir -p $(LIB_DIR)
|
mkdir -p $(LIB_DIR)
|
||||||
|
|||||||
2
config
2
config
@@ -10,7 +10,7 @@ LIB_EXT= .dylib
|
|||||||
LIB_OPTION= -dynamiclib #for MacOS X
|
LIB_OPTION= -dynamiclib #for MacOS X
|
||||||
#LIB_OPTION= -shared #for Linux
|
#LIB_OPTION= -shared #for Linux
|
||||||
|
|
||||||
COMPAT_DIR= ../compat
|
COMPAT_DIR= .
|
||||||
|
|
||||||
# Compilation directives
|
# Compilation directives
|
||||||
# On FreeBSD systems, the following line should be commented
|
# On FreeBSD systems, the following line should be commented
|
||||||
|
|||||||
Reference in New Issue
Block a user