Makefile (312B)
1 .POSIX: 2 3 PROJECTDIR =../../.. 4 include $(PROJECTDIR)/scripts/rules.mk 5 6 OBJS =\ 7 elfarchs.o\ 8 elfdel.o\ 9 elfgetsec.o\ 10 elfgetsym.o\ 11 elfloadmap.o\ 12 elfnew.o\ 13 elfprobe.o\ 14 elfread.o\ 15 elftype.o\ 16 17 all: $(OBJS) 18 19 dep: 20 @{ printf 'ELFOBJS=\\\n';\ 21 printf '\telf/%s\\\n' $(OBJS); } > deps.mk 22 23 distclean: 24 rm -f deps.mk