4 XLIB
= -L
/usr
/X11R6
/lib
-I
/usr
/X11R6
/include
6 OBJS
= game.o aliens.o player.o effects.o \
7 object.o camera.o main-x11.o vec4x1.o mat4x4.o
9 #CFLAGS = -g -Wall -pedantic -ansi
11 #OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG
12 OPTIONS
= -DGAME_LINUX_X11
15 $(CC
) -c
$(CFLAGS
) $(OPTIONS
) $< -o
$@
17 game
: $(OBJS
) $(DEPENDS
)
18 $(CC
) -o xinv3d
$(OBJS
) $(XLIB
) $(LIBS
) $(OPTIONS
)
24 aliens.o
: aliens.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
26 camera.o
: camera.c mat4x4.h vec4x1.h camera.h
27 effects.o
: effects.c game.h vec4x1.h mat4x4.h camera.h system.h \
28 defines.h object.h externs.h
29 game.o
: game.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
31 object.o
: object.c mat4x4.h vec4x1.h defines.h object.h
32 main-x11.o
: main-x11.c game.h vec4x1.h mat4x4.h camera.h system.h \
33 defines.h object.h externs.h
34 mat4x4.o
: mat4x4.c mat4x4.h vec4x1.h
35 player.o
: player.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
37 vec4x1.o
: vec4x1.c vec4x1.h