config.h $O.out: $OFILES $LIB $LD $LDFLAGS -o $target $prereq %.$O: $HFILES ([^/]*)/(.*)\.$O:R: \1/\2.c cd $stem1; $CC $CFLAGS $stem2.c