zapret/tpws/BSDmakefile

13 lines
224 B
Makefile
Raw Permalink Normal View History

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