diff --git a/loader/Makefile b/loader/Makefile index f6badac38b..32ede00f36 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -38,5 +38,12 @@ libloader.a: $(OBJS) stubs.s $(AR) -r libloader.a $(OBJS) stubs.o $(RANLIB) libloader.a -dep: - echo "dependency not required/supported" +dep depend: + $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend + +# +# include dependency files if they exist +# +ifneq ($(wildcard .depend),) +include .depend +endif