7 INCLUDES= -I. -Isrc -Iinclude -Ideps/http-parser -Ideps/zlib
9 DEFINES= $(INCLUDES) -DNO_VIZ -DSTDC -DNO_GZIP -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
10 CFLAGS= -g $(DEFINES) -Wall -Wextra -fPIC -O2
12 SRCS = $(wildcard src/*.c) $(wildcard src/transports/*.c) $(wildcard src/unix/*.c) $(wildcard deps/http-parser/*.c) $(wildcard deps/zlib/*.c)
13 OBJS = $(patsubst %.c,%.o,$(SRCS))
16 $(CC) $(CFLAGS) -c $*.c
26 $(rm) $(OBJS) $(LIBNAME)