bar.o (not bar.c) needs to DPSRCS, and using {.ALLSRC} in the target now that only bar.y is a source.