Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .OBJDIR A path to the directory where the targets are built. Its
- value is determined by trying to chdir(2) to the follow‐
- ing directories in order and using the first match:
- 1. ${MAKEOBJDIRPREFIX}${.CURDIR}
- (Only if ‘MAKEOBJDIRPREFIX’ is set in the environ‐
- ment or on the command line.)
- 2. ${MAKEOBJDIR}
- …
- 6. ${.CURDIR}
- program : a.o b.o c.o
- cc a.o b.o c.o -o program
- a.o b.o c.o : defs.h
- a.o : a.c
- cc -c a.c
- b.o : b.c
- cc -c b.c
- c.o : c.c
- cc -c c.c
- manual.html: manual.css
- manual.html: a.c b.c c.c defs.h
- manualtool -c manual.css -o manual.html a.c b.c c.c defs.h
- program : a.o b.o c.o
- cc ${.ALLSRC} -o program
- a.o b.o c.o : defs.h
- a.o : a.c
- cc -c ${.ALLSRC:M*.c}
- b.o : b.c
- cc -c ${.ALLSRC:M*.c}
- c.o : c.c
- cc -c ${.ALLSRC:M*.c}
- manual.html: manual.css
- manual.html: a.c b.c c.c defs.h
- manualtool -c ${.ALLSRC:M*.css} -o manual.html ${.ALLSRC:N*.css}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement