From 01e425ca681f4a44d476c5e4137f7077b1e8447d Mon Sep 17 00:00:00 2001 From: Nicholas O'Connor Date: Sun, 12 Mar 2017 15:43:11 -0700 Subject: [PATCH] init --- Makefile.am | 1 + configure.ac | 12 ++++++++++++ src/Makefile.am | 2 ++ src/cellar.cpp | 4 ++++ 4 files changed, 19 insertions(+) create mode 100644 Makefile.am create mode 100644 configure.ac create mode 100644 src/Makefile.am create mode 100644 src/cellar.cpp diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..af437a6 --- /dev/null +++ b/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = src diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..0ccef5d --- /dev/null +++ b/configure.ac @@ -0,0 +1,12 @@ +AC_INIT([cellar], [0]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) + +AC_PROG_CXX + +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_FILES([ + Makefile + src/Makefile +]) + +AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..d6adec4 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,2 @@ +bin_PROGRAMS = cellar +cellar_SOURCES = cellar.cpp diff --git a/src/cellar.cpp b/src/cellar.cpp new file mode 100644 index 0000000..a5bc3db --- /dev/null +++ b/src/cellar.cpp @@ -0,0 +1,4 @@ +int main(int argc, char* argv[]) { + // stub + return 0; +}