summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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