mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
14 lines
357 B
Makefile
14 lines
357 B
Makefile
CC ?= cc
|
|
CFLAGS += -std=gnu99 -s -O3 -Wno-logical-op-parentheses
|
|
LIBS = -lz
|
|
SRC_FILES = *.c
|
|
|
|
all: tpws
|
|
|
|
tpws: $(SRC_FILES)
|
|
$(CC) $(CFLAGS) -Iepoll-shim/include -o $@ $(SRC_FILES) epoll-shim/src/*.c $(LDFLAGS) $(LIBS)
|
|
$(CC) $(CFLAGS) -Iepoll-shim/include -o $@_pf $(SRC_FILES) -DUSE_PF epoll-shim/src/*.c $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f tpws tpws_pf *.o
|