From: nishi Date: Sun, 28 Jan 2024 01:19:38 +0000 (+0000) Subject: haiku fix X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=bb4a911134ebe7f02a2f34e62b28c484a0832924;p=libw3.git haiku fix git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@122 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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