summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2012-12-19 00:50:19 +0100
committerBertrand Jacquin <beber@meleeweb.net>2012-12-19 00:52:21 +0100
commitfb908da77f358c9b939c4fe760e2d49fad360d82 (patch)
treef37dd6b5ba04974fc55434d84c52055199e72f45
parent[BUILD] Remove static lib generatin as it's not really usable here (diff)
downloadmod_virtualvalue-fb908da77f358c9b939c4fe760e2d49fad360d82.tar.gz
[BUILD] Only strip dynamic library
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index a7f03f4..bfb8008 100644
--- a/Makefile
+++ b/Makefile
@@ -89,11 +89,9 @@ endif # $(V)
all: shared
shared: $(NAME).so
+strip: $(NAME).so.strip
dist: $(NAME)-$(VERSION).txz
-strip-shared: $(NAME).so.strip
-strip: strip-shared
-
%.o: %.c %.h
$(call quiet_cmd,CC,$@)
$(Q)$(CC) -c $(SPEC_CFLAGS) $(CFLAGS) -o $@ $<
@@ -102,7 +100,7 @@ $(NAME).so: $(SRC:c=o)
$(call quiet_cmd,LD,$@)
$(Q)$(LD) -shared -z now -o $@ $^ $(SPEC_LDFLAGS) $(LDFLAGS) -soname $@
-%.strip: %
+$(NAME).so.strip: %
$(call quiet_cmd,STRIP,$@)
$(Q)$(STRIP) $(STRIP_FLAGS) -o $@ $<