Squash merge into master branch
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
CFLAGS=-c -std=gnu99 -Wall
|
||||
LDFLAGS=-O2 -Wl,-Bstatic -lfcgi -llua5.1 -Wl,-Bdynamic -lm -lpthread
|
||||
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
all: lua-fastcgi
|
||||
|
||||
debug: CFLAGS+=-g -DDEBUG
|
||||
debug: lua-fastcgi
|
||||
|
||||
lua-fastcgi: src/lua-fastcgi.o src/lfuncs.o src/lua.o src/config.o
|
||||
$(CC) $^ $(LDFLAGS) -o $@
|
||||
|
||||
clean:
|
||||
rm -f src/*.o lua-fastcgi
|
||||
Reference in New Issue
Block a user