diff --git a/Makefile b/Makefile index 7059a14..8fc9b18 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ LIBS=`[ \`uname\` = "SunOS" ] && echo -lsocket -lnsl` all: darkhttpd darkhttpd: darkhttpd.c - $(CC) $(CFLAGS) $(LIBS) darkhttpd.c -o $@ + $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) darkhttpd.c -o $@ clean: rm -f darkhttpd core darkhttpd.core