zapret/tpws/BSDmakefile

13 lines
226 B
Makefile
Raw Normal View History

2024-10-28 06:32:24 +00:00
CC ?= cc
2024-11-10 11:20:14 +00:00
CFLAGS += -std=gnu99 -s -Os
2024-10-28 06:32:24 +00:00
LIBS = -lz -lpthread
SRC_FILES = *.c
all: tpws
tpws: $(SRC_FILES)
2024-11-16 15:35:56 +00:00
$(CC) $(CFLAGS) -Iepoll-shim/include -o tpws $(SRC_FILES) epoll-shim/src/*.c $(LDFLAGS) $(LIBS)
2024-10-28 06:32:24 +00:00
clean:
rm -f tpws *.o