From: jsancho Date: Wed, 14 Oct 2009 20:48:44 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=bf0af06a8306983f0c4fae8375dd6973e64aa593;p=gacela.git --- diff --git a/Makefile b/Makefile index d5bc941..06f3666 100644 --- 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 -