aboutsummaryrefslogtreecommitdiff
path: root/wd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wd/Makefile')
-rw-r--r--wd/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/wd/Makefile b/wd/Makefile
new file mode 100644
index 0000000..a093caa
--- /dev/null
+++ b/wd/Makefile
@@ -0,0 +1,9 @@
+OBJS=wdd
+include ../include/rules.make
+CFLAGS+=-fomit-frame-pointer
+
+%: %.c
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
+ strip -R .comment -R .note $@
+ objdump -h $@ | grep -q '\.data[ ]*00000000' && strip -R .data $@ || true
+ sstrip $@