blob: 7e3e2b5561c6476fa94e00c61707301e464c4dd8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- Makefile.orig Sat Jan 29 02:59:52 2000
+++ Makefile Sat Feb 5 06:35:28 2000
@@ -1,18 +1,18 @@
all: game
-CC = gcc
+CC?= gcc
XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
LIBS = -lm -lX11
OBJS = game.o aliens.o player.o effects.o \
object.o camera.o main-x11.o vec4x1.o mat4x4.o
DEPENDS =
#CFLAGS = -pg -Wall -pedantic -ansi
-CFLAGS = -ansi
+#CFLAGS = -ansi
#OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG
OPTIONS= -DGAME_LINUX_X11
.c.o: $(DEPENDS)
- $(CC) -c $(CFLAGS) $(OPTIONS) $< -o $@
+ $(CC) -c $(CFLAGS) $(OPTIONS) $(XLIB) $< -o $@
game: $(OBJS) $(DEPENDS)
$(CC) -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)
|