zapret/tpws/BSDmakefile

13 lines
224 B
Makefile
Raw Normal View History

2021-03-04 11:30:38 +00:00
CC ?= cc
2024-08-21 07:02:16 +00:00
CFLAGS += -std=gnu99 -s -O3
LIBS = -lz -lpthread
2021-03-04 11:30:38 +00:00
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