summaryrefslogtreecommitdiffhomepage
path: root/contrib/luacurses/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/luacurses/Makefile')
-rw-r--r--contrib/luacurses/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/luacurses/Makefile b/contrib/luacurses/Makefile
new file mode 100644
index 0000000000..d044c38fa3
--- /dev/null
+++ b/contrib/luacurses/Makefile
@@ -0,0 +1,8 @@
+include ../../build/module.mk
+include ../../build/config.mk
+include ../../build/gccconfig.mk
+
+compile:
+ mkdir -p dist$(LUA_LIBRARYDIR)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(SHLIB_FLAGS) -pedantic \
+ -Wall $(FPIC) $(LUA_CFLAGS) -o dist$(LUA_LIBRARYDIR)/curses.so src/src/curses.c src/src/luacurses.c