From: jsancho Date: Sun, 1 May 2011 00:23:05 +0000 (+0000) Subject: Ya funciona el configure y la compilaciĆ³n X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=542179bce0217d8eb4b2261363dd20dfb8e97e6e;p=gacela.git Ya funciona el configure y la compilaciĆ³n --- diff --git a/configure.ac b/configure.ac index eaa4037..84c6181 100644 --- a/configure.ac +++ b/configure.ac @@ -2,6 +2,7 @@ AC_INIT([gacela], [0.5], [jsf@jsancho.org]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_PROG_CC GUILE_FLAGS +AC_CONFIG_SRCDIR([src/gacela_SDL.h]) AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ Makefile diff --git a/src/Makefile.am b/src/Makefile.am index 3f4cbd7..1666eb0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,4 @@ bin_PROGRAMS = gacela gacela_SOURCES = gacela.c gacela_SDL.c +gacela_LDADD = -lguile -lltdl -lgmp -lcrypt -lm -lltdl diff --git a/src/gacela_SDL.c b/src/gacela_SDL.c index 964c0ed..4c1b4f4 100644 --- a/src/gacela_SDL.c +++ b/src/gacela_SDL.c @@ -2,7 +2,7 @@ #include #include "gacela_SDL.h" -static void* +void* SDL_register_functions (void* data) { return NULL; diff --git a/src/gacela_SDL.h b/src/gacela_SDL.h index 8b5e033..cf35f68 100644 --- a/src/gacela_SDL.h +++ b/src/gacela_SDL.h @@ -1 +1 @@ -static void* SDL_register_functions (void* data); +void* SDL_register_functions (void* data);