hello world
authorAndy Spencer <andy753421@gmail.com>
Sat, 7 Jun 2008 19:22:46 +0000 (19:22 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 7 Jun 2008 19:22:46 +0000 (19:22 +0000)
Makefile.am [new file with mode: 0644]
configure.ac [new file with mode: 0644]
src/Makefile.am [new file with mode: 0644]
src/aweather.c [new file with mode: 0644]

diff --git a/Makefile.am b/Makefile.am
new file mode 100644 (file)
index 0000000..af437a6
--- /dev/null
@@ -0,0 +1 @@
+SUBDIRS = src
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..da6af3d
--- /dev/null
@@ -0,0 +1,9 @@
+AC_INIT([aweather], [0.1], [spenceal@rose-hulman.edu])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AC_PROG_CC
+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 (file)
index 0000000..711939f
--- /dev/null
@@ -0,0 +1,2 @@
+bin_PROGRAMS = aweather
+aweather_SOURCES = aweather.c
diff --git a/src/aweather.c b/src/aweather.c
new file mode 100644 (file)
index 0000000..76fc2e7
--- /dev/null
@@ -0,0 +1,8 @@
+#include <config.h>
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+       puts("Hello World");
+       return 0;
+}