mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-18 22:11:31 +03:00
13 lines
237 B
Makefile
13 lines
237 B
Makefile
CC ?= cc
|
|
CFLAGS += -std=gnu99 -s -Os -flto=auto
|
|
LIBS = -lz -lpthread
|
|
SRC_FILES = *.c
|
|
|
|
all: tpws
|
|
|
|
tpws: $(SRC_FILES)
|
|
$(CC) $(CFLAGS) -Iepoll-shim/include -o tpws $(SRC_FILES) epoll-shim/src/*.c $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f tpws *.o
|