Annotated edit history of
MakefileVariables version 6, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
PerryLorier |
1 |
!!Implicit Variables |
|
|
2 |
;$@: Target filename |
2 |
SimonLuff |
3 |
;$<: First prerequesite |
|
|
4 |
;$^: All prerequesites |
1 |
PerryLorier |
5 |
|
|
|
6 |
!!Explicit Variables |
|
|
7 |
!Paths to programs |
|
|
8 |
;CC: C compiler, usually "cc" (see cc(1)) |
|
|
9 |
;CXX: C++ compiler, usually "c++" |
|
|
10 |
;AR: ar(1), usually "ar" |
|
|
11 |
;YACC: yacc(1), usually "yacc" |
|
|
12 |
;LD: ld(1), linker, usually "ld" |
|
|
13 |
;MAKE: make(1) program, usually "make" |
|
|
14 |
;TEX: path to tex(1) |
|
|
15 |
;RM: rm(1) command, usually "rm -f" |
|
|
16 |
;LEX: path to lex(1) |
|
|
17 |
|
|
|
18 |
!Arguments to programs |
|
|
19 |
;CFLAGS: flags passed to the C compiler. for example: "-g -Wall" |
4 |
BenStaz |
20 |
;LDLIBS: Libraries to link to, for example: "-ldl" |
1 |
PerryLorier |
21 |
;LDFLAGS: flags passed to the linker |
|
|
22 |
;ARFLAGS: flags passed to ar(1) |
4 |
BenStaz |
23 |
;C_INCLUDE_PATH: directories to add to the include path. (for c header files) |
|
|
24 |
;CPLUS_INCLUDE_PATH: directories to add to the include path. (for c++ header files) |
6 |
BenStaz |
25 |
;LD_LIBRARY_PATH: directories to add to the link path. |
5 |
BenStaz |
26 |
|
|
|
27 |
Note : To specify multiple directories in a search path use a colon separated list : DIR1:DIR2:DIR3 |