aboutsummaryrefslogtreecommitdiffstats
path: root/mktmp/Makefile
blob: d915af2c2beaef010eed11171988ccad546126fc (plain) (blame)
1
2
3
4
5
6
7
8
9
OBJS=mktmp
include ../include/rules.make
CFLAGS+=-momit-leaf-frame-pointer

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