fmake

make any project just by typing `fmake`

commit 740a473730a86ea953d0209aa50313344ac6d3fb
parent f071180bd96d15591d0e6b00299bb67841932ea8
Author: Bharatvaj Hemanth <bharatvaj@getsh.org>
Date: Tue, 29 Nov 2022 20:13:43 +0530

Add support for configure.ac

Bump version to 0.1.1 - Unix completed?
2 files changed, 5 insertions(+), 2 deletions(-)
M
config.h
|
5
++++-
M
config.mk
|
2
+-
diff --git a/config.h b/config.h
@@ -5,7 +5,8 @@ typedef enum {
 	FMAKE_GNU_MAKEFILE,
 	FMAKE_BSD_MAKEFILE,
 	FMAKE_NINJA,
-	FMAKE_AUTOCONF,
+	FMAKE_O_MAKEFILE,
+	FMAKE_AUTORECONF,
 	FMAKE_CONFIGURE,
 	FMAKE_CMAKE,
 	FMAKE_GN,

@@ -28,6 +29,8 @@ static const maker_config_t makers[] = {
 { "GNUMakefile",    FMAKE_GNU_MAKEFILE,   "gmake",         ""            },
 { "BSDMakefile",    FMAKE_BSD_MAKEFILE,   "bmake",         ""            },
 { "build.ninja",    FMAKE_NINJA,          "ninja",         ""            },
+{ "OMakefile",      FMAKE_O_MAKEFILE,     "omake",         ""            },
+{ "configure.ac",   FMAKE_AUTORECONF,     "autoreconf",    "-i"          },
 { "configure",      FMAKE_CONFIGURE,      "sh",            "configure"   },
 { "CMakeLists.txt", FMAKE_CMAKE,          "cmake",         "-B out"      },
 { "BUILD.gn",       FMAKE_GN,             "gn",            "gen out"     },
diff --git a/config.mk b/config.mk
@@ -1,4 +1,4 @@
-VERSION := 0.1.0
+VERSION := 0.1.1
 
 CFLAGS := -DFMAKE_VERSION=$(VERSION)
 PREFIX ?= usr/local/bin