X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=gacela_make.lisp;h=99eacf513b3275f88b3901374dfc4e9fd2dedb2b;hb=18b7b395aeba9aabdd47c52a0ae6bcd7d0f78f00;hp=50100f4d55558a3ab9457e79af62b8b182de05f7;hpb=a5498a39db21d35ab8090f154944550def25f68e;p=gacela.git diff --git a/gacela_make.lisp b/gacela_make.lisp index 50100f4..99eacf5 100755 --- a/gacela_make.lisp +++ b/gacela_make.lisp @@ -14,6 +14,9 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . +(setq compiler::*cc* (concatenate 'string + compiler::*cc* + "-I/usr/include/FTGL -I/usr/include/freetype2")) (defmacro compile-gfile (file-name) `(compile-file ,file-name :system-p t)) @@ -23,17 +26,19 @@ (compile-gfile "gacela_misc.lisp") (compile-gfile "gacela_SDL.lisp") (compile-gfile "gacela_GL.lisp") + (compile-gfile "gacela_FTGL.lisp") (compile-gfile "gacela_draw.lisp") + (compile-gfile "gacela_ttf.lisp") (compile-gfile "gacela_events.lisp") (compile-gfile "gacela_mobs.lisp") (compile-gfile "gacela_widgets.lisp")) (defun link-gacela () (compiler::link - '("gacela.o" "gacela_misc.o" "gacela_SDL.o" "gacela_GL.o" "gacela_draw.o" "gacela_events.o" "gacela_mobs.o" "gacela_widgets.o") + '("gacela.o" "gacela_misc.o" "gacela_SDL.o" "gacela_GL.o" "gacela_FTGL.o" "gacela_draw.o" "gacela_ttf.o" "gacela_events.o" "gacela_mobs.o" "gacela_widgets.o") "gacela" "" - "-lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lGL -lGLU")) + "-lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lGL -lGLU -lftgl")) (defun build-gacela () (compile-gacela)