Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -2,10 +2,12 @@ CFLAGS = -Wall -Werror -W -pthread -O3 LDFLAGS = -pthread LIBS = -lpthread filed: filed.o + $(CC) $(CFLAGS) $(LDFLAGS) -o "$@" $^ $(LIBS) + filed.o: filed.c clean: rm -f filed filed.o Index: filed.c ================================================================== --- filed.c +++ filed.c @@ -3,10 +3,11 @@ #include #include #include #include #include +#include #include #include #include #include #include