zapret/tpws/BSDmakefile

13 lines
237 B
Makefile
Raw Normal View History

2024-10-28 09:32:24 +03:00
CC ?= cc
2024-11-21 15:25:19 +03:00
CFLAGS += -std=gnu99 -s -Os -flto=auto
2024-10-28 09:32:24 +03:00
LIBS = -lz -lpthread
SRC_FILES = *.c
all: tpws
tpws: $(SRC_FILES)
2024-12-15 13:50:48 +03:00
$(CC) $(CFLAGS) -Iepoll-shim/include -o tpws $(SRC_FILES) epoll-shim/src/*.c $(LIBS) $(LDFLAGS)
2024-10-28 09:32:24 +03:00
clean:
rm -f tpws *.o