From c27027cd2eeebfa63c084e746c7da46c952fb255 Mon Sep 17 00:00:00 2001 From: Tharre Date: Mon, 17 Nov 2014 15:48:23 +0100 Subject: Merge all redo-*.c files into redo.c. The resulting redo binary behaves differently if called with each respective redo-* name, and is symlinked to the different command names. This should reduce the memory footprint of a redo build, as the OS only needs to keep one copy of the redo code in memory. --- src/redo-always.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/redo-always.c (limited to 'src/redo-always.c') diff --git a/src/redo-always.c b/src/redo-always.c deleted file mode 100644 index 0e1d849..0000000 --- a/src/redo-always.c +++ /dev/null @@ -1,18 +0,0 @@ -/* redo-always.c - * - * Copyright (c) 2014 Tharre - * - * This software may be modified and distributed under the terms - * of the MIT license. See the LICENSE file for details. - */ - -#include - -#include "build.h" - -int main(int argc, char *argv[]) { - for (int i = 1; i < argc; ++i) { - update_target(argv[i], 'a'); - add_dep(argv[i], NULL, 'a'); - } -} -- cgit v1.2.3-70-g09d2