]> git.jsancho.org Git - gacela.git/commitdiff
Ya funciona el configure y la compilaciĆ³n
authorjsancho <devnull@localhost>
Sun, 1 May 2011 00:23:05 +0000 (00:23 +0000)
committerjsancho <devnull@localhost>
Sun, 1 May 2011 00:23:05 +0000 (00:23 +0000)
configure.ac
src/Makefile.am
src/gacela_SDL.c
src/gacela_SDL.h

index eaa40377d5556f7f2d375ab11aaf5bfeb2d3b00c..84c61818b827ca561917feb283352d76cfabd2c7 100644 (file)
@@ -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
index 3f4cbd7bc43842d07287dabe51536b0594d3c45b..1666eb03e5cf83f5a920851621a694dcc719fbc3 100644 (file)
@@ -1,3 +1,4 @@
 bin_PROGRAMS = gacela
 gacela_SOURCES = gacela.c gacela_SDL.c
+gacela_LDADD = -lguile -lltdl  -lgmp -lcrypt -lm -lltdl
 
index 964c0eda8876013c3c0719c8e9fa8c6aa3cb81e4..4c1b4f4d3c3d37e1296c58e3cdfc80f2089311dc 100644 (file)
@@ -2,7 +2,7 @@
 #include <SDL/SDL.h>
 #include "gacela_SDL.h"
 
-static void*
+void*
 SDL_register_functions (void* data)
 {
   return NULL;
index 8b5e033d1d24556ff7a28f6a6334958c5ad536b6..cf35f68c92ecc16f956a20d316dd4f26d9249eea 100644 (file)
@@ -1 +1 @@
-static void* SDL_register_functions (void* data);
+void* SDL_register_functions (void* data);