Usually the one-line shell command after the tabulation
# The content of the rule in the make
# Usually the one-line shell command after the tabulation
fun makefile_rule_content: String is abstract
src/c_tools.nit:116,2--118,46
redef fun makefile_rule_content do
var ff = filename.basename
var o = makefile_rule_name
var pkg = ""
if not pkgconfigs.is_empty then
pkg = "`pkg-config --cflags {pkgconfigs.join(" ")}`"
end
return "$(CC) $(CFLAGS) -Wall -Wno-unused-function {self.cflags} {pkg} -c -o {o} {ff}"
end
src/c_tools.nit:146,2--154,4
redef fun makefile_rule_content do return "javac {filename} -d ."
src/ffi/java.nit:432,2--66
redef fun makefile_rule_content do
return "clang $(CFLAGS) -c {filename} -o {makefile_rule_name}"
end
src/ffi/objc.nit:171,2--173,4