fmake

make any project just by typing `fmake`

commit df4bef967fbfce45a2bf6da54001d67ca58bfdff
parent d51d84605e57552a3b30d90348d589ae291bc399
Author: Bharatvaj Hemanth <bharatvaj@getsh.org>
Date: Sat, 26 Nov 2022 04:06:21 +0530

Fix don't introduce preferred paths

Default command `cmake -B out` is change to `cmake .` to avoid using
custom paths and allow `make; make` to work.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.h b/config.h
@@ -29,7 +29,7 @@ static const maker_config_t makers[] = {
 { "GNUMakefile",    FMAKE_GNU_MAKEFILE,   "gmake",         ""            },
 { "BSDMakefile",    FMAKE_BSD_MAKEFILE,   "bmake",         ""            },
 { "configure",      FMAKE_CONFIGURE,      "sh",            "configure"   },
-{ "CMakeLists.txt", FMAKE_CMAKE,          "cmake",         "-B out/"     },
+{ "CMakeLists.txt", FMAKE_CMAKE,          "cmake",         "."           },
 { "package.json",   FMAKE_NPM,            "npm",           "install"     },
 { "Cargo.toml",     FMAKE_RUST,           "cargo",         "install"     },
 { "setup.py",       FMAKE_PIP,            "pip",           "install ."   },