2000-02-07 01:40:16 +00:00
|
|
|
--- Makefile.orig Sat Feb 5 01:10:42 2000
|
|
|
|
+++ Makefile Sun Feb 6 20:33:42 2000
|
2000-02-05 11:37:19 +00:00
|
|
|
@@ -1,18 +1,18 @@
|
2000-01-23 03:04:22 +00:00
|
|
|
all: game
|
|
|
|
|
|
|
|
-CC = gcc
|
|
|
|
+CC?= gcc
|
|
|
|
XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
|
|
|
|
LIBS = -lm -lX11
|
2000-02-05 11:37:19 +00:00
|
|
|
OBJS = game.o aliens.o player.o effects.o \
|
|
|
|
object.o camera.o main-x11.o vec4x1.o mat4x4.o
|
2000-01-23 03:04:22 +00:00
|
|
|
DEPENDS =
|
2000-02-07 01:40:16 +00:00
|
|
|
#CFLAGS = -g -Wall -pedantic -ansi
|
2000-01-23 03:04:22 +00:00
|
|
|
-CFLAGS = -ansi
|
2000-02-07 01:40:16 +00:00
|
|
|
+CFLAGS+= -ansi
|
2000-01-23 03:04:22 +00:00
|
|
|
#OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG
|
|
|
|
OPTIONS= -DGAME_LINUX_X11
|
|
|
|
|
|
|
|
.c.o: $(DEPENDS)
|
|
|
|
- $(CC) -c $(CFLAGS) $(OPTIONS) $< -o $@
|
2000-02-05 11:37:19 +00:00
|
|
|
+ $(CC) -c $(CFLAGS) $(OPTIONS) $(XLIB) $< -o $@
|
2000-01-23 03:04:22 +00:00
|
|
|
|
|
|
|
game: $(OBJS) $(DEPENDS)
|
2000-02-05 11:37:19 +00:00
|
|
|
$(CC) -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)
|