From: nishi Date: Thu, 18 Jan 2024 10:54:46 +0000 (+0000) Subject: w3 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=69c90004e9e6796d5407aed78fd933da22272731;p=libw3.git w3 git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@29 d27a3e52-49c5-7645-884c-6793ebffc270 --- diff --git a/Makefile b/Makefile index 20d4a69..bb03e3e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,8 @@ CFLAGS := -g -std=c99 -fPIC -D_BSD_SOURCE LDFLAGS := LIBS := PREFIX := /usr/local -VERSION := $(shell cat Library/W3Core.h | grep -m 1 LIBW3_VERSION | sed -E "s/.+\"([^\"]+)\"/\1/g") +VERSION = $(shell cat Library/W3Version.h | grep -m 1 LIBW3_VERSION | sed -E "s/.+\"([^\"]+)\".+/\1/g")$(shell cat Library/W3Version.h | grep -Eo "\/W" | grep -Eo "W") + ifdef SSL CFLAGS += -DSSL_SUPPORT