]> git.jsancho.org Git - gacela.git/blob - Makefile
(no commit message)
[gacela.git] / Makefile
1 LISP = gcl
2 LIBS = "-lSDL -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_gfx -lGL -lGLU -lftgl"
3
4 OBJ = "gacela.o" "gacela_misc.o" "gacela_SDL.o" "gacela_GL.o" "gacela_FTGL.o" \
5       "gacela_draw.o" "gacela_ttf.o" "gacela_events.o" "gacela_mobs.o" \
6       "gacela_widgets.o"
7
8 OBJ = "gacela.o" "gacela_misc.o" "gacela_SDL.o" "gacela_GL.o" "gacela_FTGL.o" \
9       "gacela_draw.o" "gacela_ttf.o" "gacela_events.o" "gacela_mobs.o" \
10       "gacela_widgets.o"
11
12 %.o: %.lisp
13         $(LISP) -compile $< -system-p
14
15 all: $(OBJ)
16         $(LISP) -eval "(compiler::link '($(OBJ)) \"gacela\" \"\" $(LIBS))"
17
18 clean:
19         rm $(OBJ) gacela
20