Initial commit
This commit is contained in:
parent
cf8de1f7bb
commit
0a0ba83b86
6
AUTHORS
Normal file
6
AUTHORS
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Example: http://git.savannah.gnu.org/cgit/make.git/tree/AUTHORS
|
||||||
|
|
||||||
|
GNU Coding Standards 6.3: Recording Contributors
|
||||||
|
http://www.gnu.org/prep/maintain/html_node/Recording-Contributors.html
|
||||||
|
|
||||||
|
First version of all files by Ruben Laguna <ruben.laguna at gmail.com>
|
6
ChangeLog
Normal file
6
ChangeLog
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
GNU Coding Standards 6.8 ChangeLogs:
|
||||||
|
http://www.gnu.org/prep/standards/html_node/Change-Logs.html#Change-Logs
|
||||||
|
|
||||||
|
2014-01-25 Ruben laguna <ruben.laguna at gmail.com>
|
||||||
|
|
||||||
|
* main.c (some_function) : Fix something.
|
1
Makefile.am
Normal file
1
Makefile.am
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SUBDIRS = src
|
19
NEWS
Normal file
19
NEWS
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Read GNU Coding Standards 6.7
|
||||||
|
http://www.gnu.org/prep/standards/html_node/NEWS-File.html#NEWS-File
|
||||||
|
|
||||||
|
Example: http://git.savannah.gnu.org/cgit/make.git/tree/NEWS
|
||||||
|
|
||||||
|
YourProject NEWS
|
||||||
|
History of user-visible changes
|
||||||
|
25 Jan 2015
|
||||||
|
|
||||||
|
See the end of this file for copyrights and conditions.
|
||||||
|
|
||||||
|
|
||||||
|
Version 1.0.0
|
||||||
|
|
||||||
|
* New features: XXXX
|
||||||
|
Description of the feature
|
||||||
|
|
||||||
|
|
||||||
|
|
6
README
Normal file
6
README
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# autotools-template
|
||||||
|
Template for an autotools (autoconf, automake) project
|
||||||
|
|
||||||
|
# Files provided:
|
||||||
|
* autogen.sh: will generate the .configure and Makefile.in templates
|
||||||
|
from configure.ac and the Makefile.am files
|
|
@ -1,2 +0,0 @@
|
||||||
# autotools-template
|
|
||||||
Template for an autotools (autoconf, automake) project
|
|
10
autogen.sh
Executable file
10
autogen.sh
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# As seen on
|
||||||
|
# Autotools A Practitioner's Guide to GNU Autoconf,
|
||||||
|
# Automake, and Libtool by John Calcote
|
||||||
|
#
|
||||||
|
# autoreconf runs all the autotool configuration tools in the right order
|
||||||
|
# and will avoid regenerating files.
|
||||||
|
#
|
||||||
|
autoreconf --install # install missing files
|
||||||
|
automake --add-missing --copy >/dev/null 2>&1 # add install-sh
|
26
configure.ac
Normal file
26
configure.ac
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# -*- Autoconf -*-
|
||||||
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
|
AC_PREREQ([2.69])
|
||||||
|
AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
|
||||||
|
AM_INIT_AUTOMAKE
|
||||||
|
AC_CONFIG_SRCDIR([src/main.c])
|
||||||
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
|
# Checks for programs.
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
AC_CHECK_HEADERS([stdlib.h])
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
|
||||||
|
|
||||||
|
AC_CONFIG_FILES([Makefile
|
||||||
|
src/Makefile])
|
||||||
|
AC_OUTPUT
|
2
src/Makefile.am
Normal file
2
src/Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bin_PROGRAMS = myexecutable
|
||||||
|
myexecutable_SOURCES = main.c
|
7
src/main.c
Normal file
7
src/main.c
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
printf ("Hello world\n");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user