aboutsummaryrefslogtreecommitdiffstats
path: root/wd/Makefile
blob: f355d00ae2333c78b6168521a85846a6be9c5bd6 (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 -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