summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2023-06-18 13:17:25 +0200
committercbdev <cb@cbcdn.com>2023-06-18 13:17:25 +0200
commit521558ddca0ef7891d5b6515ed0c87fa4845ea8b (patch)
treee819df447a3b6b48a8ff56fda848a0a5aad169c0 /Makefile
parentf0cb3e813a51034dd0d8051aa7165b926e0d8411 (diff)
downloadlibyhy-521558ddca0ef7891d5b6515ed0c87fa4845ea8b.tar.gz
libyhy-521558ddca0ef7891d5b6515ed0c87fa4845ea8b.tar.bz2
libyhy-521558ddca0ef7891d5b6515ed0c87fa4845ea8b.zip
Add debug library to clean target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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