From bb4a911134ebe7f02a2f34e62b28c484a0832924 Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 28 Jan 2024 01:19:38 +0000 Subject: [PATCH] haiku fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@122 d27a3e52-49c5-7645-884c-6793ebffc270 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42ac98e..a608658 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,9 @@ ifneq ($(WINDOWS),YES) ifeq ($(shell uname -s),SunOS) LIBS += -lsocket endif +ifeq ($(shell uname -s),Haiku) +LIBS += -lnetwork +endif endif ifeq ($(DEBUG),YES) @@ -97,7 +100,7 @@ endif echo "Libs: -I\$${libdir} -lw3" >> $@ clean: - -rm ./w3.pc w3-*.zip w3-*.tar.gz w3-*.lzh ./Library/W3Version.h *~ + -rm -f ./w3.pc w3-*.zip w3-*.tar.gz w3-*.lzh ./Library/W3Version.h *~ $(MAKE) -C ./Library clean $(MAKE) -C ./Example clean -- 2.43.0