What is the syntax for defining multiple target-specific variables? For
instance, I'd like to define both SUBDIRS and OBJS for the target, main.  Is the
following Makefile code sample correct?


OBJS = objs.o I.o dont.o want.o

main: SUBDIRS = /usr/local/lib
main: OBJS = foo.o
main: OBJS += nice.o
main: $(OBJS)
     $(CC) -o main $(OBS)


Todd Eastman



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to