mirror of https://github.com/F-Stack/f-stack.git
Optimize makefile
This commit is contained in:
parent
e81d492e9b
commit
8cf1d457cb
|
@ -21,4 +21,4 @@ all:
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o ${TARGET}
|
rm -f *.o ${TARGET} ${TARGET}_epoll
|
||||||
|
|
|
@ -376,7 +376,7 @@ all: libfstack.a
|
||||||
# externally available.
|
# externally available.
|
||||||
#
|
#
|
||||||
libfstack.a: machine_includes ff_api.symlist ${MHEADERS} ${MSRCS} ${HOST_OBJS} ${ASM_OBJS} ${OBJS}
|
libfstack.a: machine_includes ff_api.symlist ${MHEADERS} ${MSRCS} ${HOST_OBJS} ${ASM_OBJS} ${OBJS}
|
||||||
${LD} -r -o $*.ro ${ASM_OBJS} ${OBJS}
|
${LD} -d -r -o $*.ro ${ASM_OBJS} ${OBJS}
|
||||||
nm $*.ro | grep -v ' U ' | cut -d ' ' -f 3 > $*_localize_list.tmp
|
nm $*.ro | grep -v ' U ' | cut -d ' ' -f 3 > $*_localize_list.tmp
|
||||||
objcopy --localize-symbols=$*_localize_list.tmp $*.ro
|
objcopy --localize-symbols=$*_localize_list.tmp $*.ro
|
||||||
rm $*_localize_list.tmp
|
rm $*_localize_list.tmp
|
||||||
|
|
Loading…
Reference in New Issue