1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/games/xinvaders3d/files/patch-aa
Chris D. Faulhaber 31c157ffd9 Update MD5 checksum and patch-aa due to significant changes
in the DISTFILE caused by finalizing DOS support.

Note: most people update a program's version for significant
changes in a program; but apparently not here.
2000-02-07 01:40:16 +00:00

25 lines
643 B
Plaintext

--- Makefile.orig Sat Feb 5 01:10:42 2000
+++ Makefile Sun Feb 6 20:33:42 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 = -g -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)