diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-03-18 22:57:56 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-03-18 22:57:56 -0500 |
commit | 87fe5c137edcfd147bd8b608e2980de1298de1e2 (patch) | |
tree | 542a596bcb861e75751c57ce4a4c49b1c6962475 /Makefile | |
parent | ea1ae62272d361f3afd714c90b0c5df09b6176b8 (diff) | |
download | luancurses-87fe5c137edcfd147bd8b608e2980de1298de1e2.tar.gz luancurses-87fe5c137edcfd147bd8b608e2980de1298de1e2.zip |
portability - handle distros that have weird names for the lua libraries and include paths
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,9 +4,9 @@ include Make.$(OS) BIN = src/curses.so OBJ = src/curses.o src/strings.o CC = gcc -INCLUDES = +INCLUDES = -I$(LUA_INCLUDEPATH) DEFINES = -LIBS = -lcurses -llua +LIBS = -lcurses -l$(LUA_LIBNAME) COMMONFLAGS = -Werror -Wall -pedantic -O0 -g -pipe $(OS_FLAGS) CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS) LDFLAGS = $(LIBS) $(COMMONFLAGS) -shared @@ -41,8 +41,8 @@ dep : rm -f Makefile.bak install : - mkdir -p $(LUA_C_DIR) - cp $(BIN) $(LUA_C_DIR) + mkdir -p $(LUA_DIR) + cp $(BIN) $(LUA_DIR) dist : $(VERSION).tar.gz |