]> Nishi Git Mirror - libw3.git/commitdiff
haiku fix
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sun, 28 Jan 2024 01:19:38 +0000 (01:19 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Sun, 28 Jan 2024 01:19:38 +0000 (01:19 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@122 d27a3e52-49c5-7645-884c-6793ebffc270

Makefile

index 42ac98e1af33f630abac2ec4547cad6b5ef0482b..a6086580f98baa42230d262c207cff0aa22a128e 100644 (file)
--- 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