flm01/mote/v1/openwrt/package/luci/contrib/luacurses/Makefile
Bart Van Der Meerssche 3a28838b29 change repository layout
2010-07-07 16:37:03 +02:00

10 lines
367 B
Makefile

include ../../build/module.mk
include ../../build/config.mk
include ../../build/gccconfig.mk
compile: dist$(LUA_LIBRARYDIR)/curses.so
dist$(LUA_LIBRARYDIR)/curses.so:
mkdir -p dist$(LUA_LIBRARYDIR)
$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) $(SHLIB_FLAGS) -pedantic \
-Wall $(FPIC) $(LUA_CFLAGS) -o dist$(LUA_LIBRARYDIR)/curses.so src/curses.c src/luacurses.c