aboutsummaryrefslogtreecommitdiffstats
path: root/wd/Makefile
blob: 58650df4f81ebb5e5dc853e2b6c61232a97c7b2b (plain) (blame)
1
2
3
4
5
6
7
8
9
OBJS=wdd
include ../include/rules.make
CFLAGS+=-fomit-frame-pointer

%:	%.c
	$(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<
	$(STRIP) -x --strip-unneeded -R .comment -R .note $@
	$(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true
	sstrip $@