aboutsummaryrefslogtreecommitdiffstats
path: root/src/so.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/so.mk')
-rw-r--r--src/so.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/so.mk b/src/so.mk
index f78f2aea6..ee5d94a0f 100644
--- a/src/so.mk
+++ b/src/so.mk
@@ -3,7 +3,7 @@
3# Note: $(ROOT)/config.mk must be included before this file. 3# Note: $(ROOT)/config.mk must be included before this file.
4# 4#
5# The includer should probably define SO and TARGET and may also want to define 5# The includer should probably define SO and TARGET and may also want to define
6# EXTRA_HDRS, EXTRA_OBJS, CLEANFILES and DISTCLEANFILES. 6# EXTRA_HDRS and EXTRA_OBJS and extend CLEANFILES.
7 7
8HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS) 8HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS)
9SRCS := $(sort $(wildcard *.c)) 9SRCS := $(sort $(wildcard *.c))
@@ -28,7 +28,7 @@ $(SO): $(OBJS) $(ROOT)/config.mk
28 $(CC) $(SO_LDFLAGS) -shared -fPIC -z relro $(LDFLAGS) -o $@ $(OBJS) -ldl 28 $(CC) $(SO_LDFLAGS) -shared -fPIC -z relro $(LDFLAGS) -o $@ $(OBJS) -ldl
29 29
30.PHONY: clean 30.PHONY: clean
31clean:; rm -fr $(OBJS) $(SO) *.plist $(CLEANFILES) 31clean:; rm -fr $(SO) $(CLEANFILES)
32 32
33.PHONY: distclean 33.PHONY: distclean
34distclean: clean; rm -fr $(DISTCLEANFILES) 34distclean: clean