aboutsummaryrefslogblamecommitdiff
path: root/remount/Makefile
blob: 718de45c52c9676717cb1a5fa873a95f79758876 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                 
OBJS=remountr remountw
include ../include/rules.make
CFLAGS+=-fomit-frame-pointer

remountw : remountr
	ln -s $^ $@

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