]> git.jsancho.org Git - gacela.git/commitdiff
(no commit message)
authorjsancho <devnull@localhost>
Wed, 14 Oct 2009 20:48:44 +0000 (20:48 +0000)
committerjsancho <devnull@localhost>
Wed, 14 Oct 2009 20:48:44 +0000 (20:48 +0000)
Makefile

index d5bc941dcdac97a34e7fab9c1474c08edbedbf7a..06f366698a1e6db321effb6dc61f47e4353850ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,20 @@
 LISP = gcl
+LIBS = "-lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lGL -lGLU -lftgl"
 
-SRC = gacela.lisp gacela_misc.lisp gacela_SDL.lisp gacela_GL.lisp \
-      gacela_draw.lisp gacela_events.lisp gacela_mobs.lisp \
-      gacela_widgets.lisp
+OBJ = "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"
 
-OBJ = gacela.o gacela_misc.o gacela_SDL.o gacela_GL.o gacela_draw.o \
-      gacela_events.o gacela_mobs.o gacela_widgets.o
+OBJ = "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"
 
-.lisp.o:
-       $(LISP) -compile -system-p $<
+%.o: %.lisp
+       $(LISP) -compile $< -system-p
 
 all: $(OBJ)
-       touch pepe
+       $(LISP) -eval "(compiler::link '($(OBJ)) \"gacela\" \"\" $(LIBS))"
 
 clean:
        rm $(OBJ) gacela
 
-gacela.o: gacela.lisp
-gacela_misc.o: gacela_misc.lisp
-gacela_SDL.o: gacela_SDL.lisp
-gacela_GL.o: gacela_GL.lisp
-gacela_draw.o: gacela_draw.lisp
-gacela_events.o: gacela_events.lisp
-gacela_mobs.o: gacela_mobs.lisp
-gacela_widgets.o: gacela_widgets.lisp
-