zapret/tpws/BSDmakefile
2024-11-16 18:35:56 +03:00

13 lines
226 B
Makefile

CC ?= cc
CFLAGS += -std=gnu99 -s -Os
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