From 404b6a161d3c7986357e8097e00ff04fec285922 Mon Sep 17 00:00:00 2001 From: Ruben Laguna Date: Wed, 28 Jan 2015 22:47:35 +0100 Subject: [PATCH] Added some instructions in the README --- README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README b/README index 843f914..251589c 100644 --- a/README +++ b/README @@ -2,8 +2,28 @@ Template for an autotools (autoconf, automake) project +Edit configure.ac to change the FULL-PACKAGE-NAME, VERSION and +BUG-REPORT-ADDRESS fields to match your project. + +Edit src/Makefile.am to configure the "products" or executables. +bin_PROGRAMS = executable1 executable2 +executable1_SOURCES = sourcefile1.c sourcefile2.c +executable1_CFLAGS = +executable2_SOURCES = sourcefile3.c sourcefile4.c +executable2_CFLAGS = + + + ./autogen.sh will generate ./configure and the Makefile.in files from the configure.ac, Makefile.am and src/Makefile.am files ./configure will generate config.h and Makefile and src/Makefile + +Run: +./autogen.sh && ./configure && make + +to test the whole setup. + +You need to run ./autogen.sh && ./configure after modifying *.ac or *.am files +