diff options
author | Steven Barth <steven@midlink.org> | 2008-08-31 11:14:47 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-31 11:14:47 +0000 |
commit | 36c76090638e80d1cb9ad2dd060aae65976f24c8 (patch) | |
tree | eacc03904f5b6d649e71975dbfacd836fbb149ed /contrib/luacurses/src/Makefile | |
parent | f28422324d9f8aa6ac0af58dca431fa466e8b183 (diff) |
Add luacurses to contrib
Diffstat (limited to 'contrib/luacurses/src/Makefile')
-rw-r--r-- | contrib/luacurses/src/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/luacurses/src/Makefile b/contrib/luacurses/src/Makefile new file mode 100644 index 000000000..1dd108f49 --- /dev/null +++ b/contrib/luacurses/src/Makefile @@ -0,0 +1,15 @@ + +SRC=src/curses.c src/luacurses.c +INCLUDE=/usr/include/lua5.1 +CFLAGS=-shared -ansi -Wall -O2 -I$(INCLUDE) -fpic + +all: lib/curses.so + +lib/curses.so: $(SRC) + if ! [ -d lib ]; then mkdir lib; fi + gcc $(CFLAGS) -o lib/curses.so $(SRC) + +clean: + rm -Rf lib + + |