nothing to be done reload
This commit is contained in:
parent
7acbfd6c9f
commit
18109594b7
3 changed files with 14 additions and 1 deletions
|
|
@ -469,7 +469,8 @@ static int run_rule(struct rule *rule)
|
||||||
// Build dependencies
|
// Build dependencies
|
||||||
while (dependencies != NULL)
|
while (dependencies != NULL)
|
||||||
{
|
{
|
||||||
// Expand variables
|
// Expand variable
|
||||||
|
// TODO
|
||||||
|
|
||||||
// Check file existence
|
// Check file existence
|
||||||
if (!file_exists(dependencies->data))
|
if (!file_exists(dependencies->data))
|
||||||
|
|
@ -492,6 +493,13 @@ static int run_rule(struct rule *rule)
|
||||||
dependencies = dependencies->next;
|
dependencies = dependencies->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Empty recipe
|
||||||
|
if (commands == NULL)
|
||||||
|
{
|
||||||
|
printf("%s: Nothing to be done for '%s'.\n", program_name, rule->name);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
while (commands != NULL)
|
while (commands != NULL)
|
||||||
{
|
{
|
||||||
// Expand command variables
|
// Expand command variables
|
||||||
|
|
|
||||||
1
minimake/tests/Makefile.empty
Normal file
1
minimake/tests/Makefile.empty
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
empty_target:
|
||||||
4
minimake/tests/Makefile.vars
Normal file
4
minimake/tests/Makefile.vars
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
V=2
|
||||||
|
|
||||||
|
main:
|
||||||
|
echo $V
|
||||||
Loading…
Add table
Add a link
Reference in a new issue