[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multiple Target-Specific Variable Assignment
From: |
Eastman . Todd |
Subject: |
Multiple Target-Specific Variable Assignment |
Date: |
Fri, 30 Mar 2001 15:25:27 -0700 |
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
- Multiple Target-Specific Variable Assignment,
Eastman . Todd <=