8 lines
283 B
Text
8 lines
283 B
Text
|
|
# Demonstrate how to compile .o files using nonstandard
|
||
|
|
# compiler flags. You could also do this for a whole
|
||
|
|
# directory using default.o.od.
|
||
|
|
rc_include all.rc
|
||
|
|
|
||
|
|
src="$S/${1%.o}.c"
|
||
|
|
redo-ifchange "_compile" "$src"
|
||
|
|
CC="$CC" CPPFLAGS="-DFLAGTEST_SET=42" ./_compile "$3" "$1.deps" "$src"
|