Michael Morrell <[email protected]> writes: > I've just started trying to use target-specific variables and I'm > getting results I don't understand. I'm using make 3.81. > > With this Makefile: > > ============================ > a: SRCS = a1.c a2.c > > OBJS = $(SRCS:.c=.o) > > a: $(OBJS)
At the top of your makefile, add .SECONDEXPANSION: You should see: make-3.81: *** No rule to make target `a1.o', needed by `a'. Stop.
pgp_t1TvjSrSF.pgp
Description: PGP signature
_______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
