aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:25:12 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-01 22:25:12 +0200
commit824807e58db0a44a227b88cc1d01ec4831d49202 (patch)
treefe186b0735e140b9583eb868c32c98a194073753
parentremount: sstrip is not available everywhere (diff)
downloadflxutils-824807e58db0a44a227b88cc1d01ec4831d49202.tar.gz
wdd: add a conditional sstrip and add more warnings
-rw-r--r--wd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/wd/Makefile b/wd/Makefile
index 58650df..f355d00 100644
--- a/wd/Makefile
+++ b/wd/Makefile
@@ -3,7 +3,7 @@ include ../include/rules.make
CFLAGS+=-fomit-frame-pointer
%: %.c
- $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
+ $(CC) $(LDFLAGS) $(CFLAGS) -W -Wall -o $@ $<
$(STRIP) -x --strip-unneeded -R .comment -R .note $@
$(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true
- sstrip $@
+ -if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi