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.

18 lines
346 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: LDFLAGS+=-lrt
  8. debug: lua-fastcgi
  9. lua-fastcgi: src/lua-fastcgi.o src/lfuncs.o src/lua.o src/config.o
  10. $(CC) $^ $(LDFLAGS) -o $@
  11. clean:
  12. rm -f src/*.o lua-fastcgi