From ca1b481d6e8606db85e82c236c8edf29b49126c8 Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 26 Jul 2016 12:12:15 +0200 Subject: Implement new dependency storage system --- src/redo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/redo.c') diff --git a/src/redo.c b/src/redo.c index 3927326..00da7eb 100644 --- a/src/redo.c +++ b/src/redo.c @@ -1,6 +1,6 @@ /* redo.c * - * Copyright (c) 2014 Tharre + * Copyright (c) 2014-2016 Tharre * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) { die("%s must be called inside a .do script\n", argv[0]); if (ident == 'a') - add_dep(parent, parent, ident); + add_prereq(parent, parent, ident); else for (int i = 1; i < argc; ++i) { do { @@ -87,7 +87,7 @@ int main(int argc, char *argv[]) { } while (!*temp); update_target(*temp, ident); - add_dep(*temp, xbasename(parent), ident); + add_prereq(*temp, xbasename(parent), ident); *temp = NULL; } -- cgit v1.2.3-70-g09d2