Note:
You are viewing an old revision of this page.
View the current version.
Implicit Variables
- $@
- Target filename
- $^
- First prerequesite
- $<
- All prerequesites
Explicit Variables
Paths to programs
- CC
- C compiler, usually "cc" (see cc(1))
- CXX
- C++ compiler, usually "c++"
- AR
- ar(1), usually "ar"
- YACC
- yacc(1), usually "yacc"
- LD
- ld(1), linker, usually "ld"
- MAKE
- make(1) program, usually "make"
- TEX
- path to tex(1)
- RM
- rm(1) command, usually "rm -f"
- LEX
- path to lex(1)
Arguments to programs
- CFLAGS
- flags passed to the C compiler. for example: "-g -Wall"
- LDLIBS
- Libraries
- LDFLAGS
- flags passed to the linker
- ARFLAGS
- flags passed to ar(1)