FLINTSTONES = wilma and fred | |
RUBBLES = barney and betty | |
BEDROCK = $(FLINTSTONES) and $(RUBBLES) | |
'$(BEDROCK)' becomes 'wilma and fred and barney and betty' |
MACRO = body | |
MACRO= body | |
MACRO =body | |
MACRO=body |
FLINTSTONES += pebbles and dino |
FLINTSTONES = wilma and fred and pebbles and dino |
target ... : [dependency ...] | |
[rule]/ | |
... |
pgm : a.obj b.obj
$(CC) a.obj b.obj -o $@ a.obj: incl.h a.c $(CC) -c a.c b.obj: incl.h b.c $(CC) -c b.c |
pgm : a.obj b.obj
pgm : a.obj b.obj $(CC) a.o b.o -o $@ a.obj b.obj: incl.h |
.KEEP_STATE:
.MAKE_VERSION: .PRECIOUS: .SCCS_GET: |
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |