From ff4bd31d17b4bdbe39707dc639cefee4a2aff828 Mon Sep 17 00:00:00 2001 From: nishi Date: Wed, 17 Jan 2024 08:31:53 +0000 Subject: [PATCH] debug git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@11 d27a3e52-49c5-7645-884c-6793ebffc270 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f060b86..b1b18b5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ include config.mk CC := cc -CFLAGS := -g -std=c99 -fPIC -D_BSD_SOURCE $(DEBUG) +CFLAGS := -g -std=c99 -fPIC -D_BSD_SOURCE LDFLAGS := LIBS := PREFIX := /usr/local @@ -12,6 +12,10 @@ CFLAGS += -DSSL_SUPPORT LIBS += -lssl -lcrypto endif +ifdef DEBUG +CFLAGS += -g -D__DEBUG__ +endif + .PHONY: all clean ./Library/libw3.so ./Example/fetch all: ./w3.pc ./Library/libw3.so ./Example/fetch -- 2.43.0