diff --git a/Makefile.am b/Makefile.am index 40fb0b1..618fd35 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,3 +28,6 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see http://www.gnu.org/licenses/. + + +SUBDIRS = lib src doc diff --git a/configure.ac b/configure.ac index 064fcb0..b773542 100644 --- a/configure.ac +++ b/configure.ac @@ -28,5 +28,19 @@ dnl dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see http://www.gnu.org/licenses/. -AC_INIT([Star Traders], [7.0], [J.Zaitseff@zap.org.au],, [http://www.zap.org.au/software/trader/]) + +AC_INIT([Star Traders], [7.0], [J.Zaitseff@zap.org.au], , [http://www.zap.org.au/software/trader/]) + +AC_CONFIG_AUX_DIR([build-aux]) +AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AC_PREREQ(2.60) + +AC_PROG_CC +AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_FILES([ + Makefile + src/Makefile + lib/Makefile + doc/Makefile +]) AC_OUTPUT diff --git a/src/Makefile.am b/src/Makefile.am index 98852ca..859b74e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -28,3 +28,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see http://www.gnu.org/licenses/. + + +bin_PROGRAMS = trader +trader_SOURCES = trader.c trader.h