aboutsummaryrefslogtreecommitdiffstats
path: root/wd/Makefile
blob: 6f1fa7232bee572deda637b1d39e57fb1eeb5ee4 (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) -W -Wall -U_FORTIFY_SOURCE -o $@ $<
	$(STRIP) -x --strip-unneeded -R .comment -R .note $@
	$(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true
	-if [ -n "$(SSTRIP)" ]; then $(SSTRIP) $@ ; fi