mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
26 lines
631 B
Plaintext
26 lines
631 B
Plaintext
|
--- Makefile.orig Thu Jan 20 23:49:54 2000
|
||
|
+++ Makefile Fri Jan 21 23:20:08 2000
|
||
|
@@ -1,6 +1,6 @@
|
||
|
all: game
|
||
|
|
||
|
-CC = gcc
|
||
|
+CC?= gcc
|
||
|
XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include
|
||
|
LIBS = -lm -lX11
|
||
|
OBJS = main.o game.o aliens.o player.o effects.o \
|
||
|
@@ -8,12 +8,12 @@
|
||
|
vec4x1.o mat4x4.o
|
||
|
DEPENDS =
|
||
|
#CFLAGS = -g -Wall -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) -g -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS)
|