updated build system

This commit is contained in:
Steffen Vogel 2012-12-23 02:20:19 +01:00
parent ce0684d843
commit aeb5928aa2
2 changed files with 6 additions and 9 deletions

View file

@ -2,8 +2,8 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT(astro, 0.1, stv0g@0l.de)
AC_CONFIG_SRCDIR([src/astro.c])
AC_INIT(sun, 0.1, post@steffenvogel.de)
AC_CONFIG_SRCDIR([src/sun_main.c])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.

View file

@ -1,10 +1,7 @@
bin_PROGRAMS = astro sun geonames
bin_PROGRAMS = sun geonames
astro_SOURCES = calendar.c astro.c
astro_LDADD = -lm
sun_SOURCES = sun_main.c sun.c geonames.c
sun_LDADD = -lm -lcurl -ljson
sun_SOURCES = sun.c
sun_LDADD = -lm
geonames_SOURCES = geonames_test.c geonames.c
geonames_SOURCES = geonames_main.c geonames.c
geonames_LDADD = -lcurl -ljson