diff options
author | Tharre <tharre3@gmail.com> | 2016-07-26 12:12:15 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2016-07-26 12:12:15 +0200 |
commit | ca1b481d6e8606db85e82c236c8edf29b49126c8 (patch) | |
tree | f2067117a75da2562b7acf9a2e52d42eff6e647f /src/redo.c | |
parent | ca3cb1fd17adb1ec8c86372cd11333f6e345e013 (diff) | |
download | redo-ca1b481d6e8606db85e82c236c8edf29b49126c8.tar.gz redo-ca1b481d6e8606db85e82c236c8edf29b49126c8.tar.xz redo-ca1b481d6e8606db85e82c236c8edf29b49126c8.zip |
Implement new dependency storage system
Diffstat (limited to 'src/redo.c')
-rw-r--r-- | src/redo.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |