1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/hex/files/patch-ac

22 lines
544 B
Plaintext
Raw Normal View History

--- Makefile.orig Fri Aug 13 20:42:49 1999
+++ Makefile Fri Aug 13 20:43:18 1999
@@ -1,4 +1,4 @@
-CC = gcc -Wall -O6 -g
+#CC = gcc -Wall -O6 -g
SRCS = main.c levels.c grid.c player.c touching.c gtkstuff.c plot.c graphics.c
OBJS = $(SRCS:.c=.o)
@@ -7,10 +7,10 @@
all: hex
.c.o:
- $(CC) `gtk-config --cflags` -c $*.c -o $*.o
+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` -c $*.c -o $*.o
hex: $(OBJS)
- $(CC) $(LIBS) `gtk-config --libs` $(OBJS) -o $@
+ $(CC) $(LIBS) `$(GTK_CONFIG) --libs` $(OBJS) -o $@
clean:
rm -f *~ *.o hex