From 542179bce0217d8eb4b2261363dd20dfb8e97e6e Mon Sep 17 00:00:00 2001 From: jsancho Date: Sun, 1 May 2011 00:23:05 +0000 Subject: [PATCH] =?utf8?q?Ya=20funciona=20el=20configure=20y=20la=20compil?= =?utf8?q?aci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- configure.ac | 1 + src/Makefile.am | 1 + src/gacela_SDL.c | 2 +- src/gacela_SDL.h | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5