forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / Games / XInvaders3D / Makefile
blob15628e7d38b2908667e9675203f9c1473d80b90e
1 all: game
3 CC = gcc
4 XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
5 LIBS = -lm -lX11
6 OBJS = game.o aliens.o player.o effects.o \
7 object.o camera.o main-x11.o vec4x1.o mat4x4.o
8 DEPENDS =
9 #CFLAGS = -g -Wall -pedantic -ansi
10 CFLAGS = -ansi
11 #OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG
12 OPTIONS= -DGAME_LINUX_X11
14 .c.o: $(DEPENDS)
15 $(CC) -c $(CFLAGS) $(OPTIONS) $< -o $@
17 game: $(OBJS) $(DEPENDS)
18 $(CC) -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)
20 clean:
21 rm *.o
22 rm xinv3d
24 aliens.o: aliens.c game.h vec4x1.h mat4x4.h camera.h system.h defines.h \
25 object.h externs.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 \
30 object.h externs.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 \
36 object.h externs.h
37 vec4x1.o: vec4x1.c vec4x1.h