diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-04 20:37:41 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-09-04 20:37:41 +0200 |
commit | 17b6611ae5b36726c41430874427307f39bd8b6e (patch) | |
tree | ad8375f34345b99924192f4c8e39d9e026f093dd | |
parent | 3df5a13aeb3a9e4acba3fc5755a891a10e98c751 (diff) | |
download | redo-c-17b6611ae5b36726c41430874427307f39bd8b6e.tar.gz redo-c-17b6611ae5b36726c41430874427307f39bd8b6e.tar.xz redo-c-17b6611ae5b36726c41430874427307f39bd8b6e.zip |
Change naming schema: .foo.c.dep -> .dep.foo.c
-rw-r--r-- | redo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo.c b/redo.c index 8c7da3b..4229091 100644 --- a/redo.c +++ b/redo.c @@ -362,7 +362,7 @@ targetchdir(char *target) { static char * targetdep(char *target) { static char dep[1024]; - snprintf(dep, sizeof dep, ".%s.dep", target); + snprintf(dep, sizeof dep, ".dep.%s", target); return dep; } @@ -498,7 +498,7 @@ write_dep(int dep_fd, char *file) { static struct job * run_script(char *target, int implicit) { - char temp_depfile[] = ".dep.XXXXXX"; + char temp_depfile[] = ".depend.XXXXXX"; char temp_target[] = ".target.XXXXXX"; char *orig_target = target; int old_dep_fd = dep_fd; |