From 521558ddca0ef7891d5b6515ed0c87fa4845ea8b Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 18 Jun 2023 13:17:25 +0200 Subject: Add debug library to clean target --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5c5268a..ebc6003 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CFLAGS = -g -Wall -Wpedantic %.so: CFLAGS += -shared -fPIC -%.debug.so: CFLAGS += -shared -fPIC -DDEBUG +%.debug.so: CFLAGS += -DDEBUG %.so :: %.c %.h $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS) $(LDLIBS) @@ -18,4 +18,5 @@ all: libyhy.so libyhy.debug.so yhy_test clean: $(RM) libyhy.so + $(RM) libyhy.debug.so $(RM) yhy_test -- cgit v1.2.3