a sandboxed Lua backend for FastCGI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

17 lines
325 B

  1. CFLAGS=-c -std=gnu99 -Wall
  2. LDFLAGS=-O2 -Wl,-Bstatic -lfcgi -llua5.1 -Wl,-Bdynamic -lm -lpthread
  3. .c.o:
  4. $(CC) $(CFLAGS) $< -o $@
  5. all: lua-fastcgi
  6. debug: CFLAGS+=-g -DDEBUG
  7. debug: lua-fastcgi
  8. lua-fastcgi: src/lua-fastcgi.o src/lfuncs.o src/lua.o src/config.o
  9. $(CC) $^ $(LDFLAGS) -o $@
  10. clean:
  11. rm -f src/*.o lua-fastcgi