summaryrefslogtreecommitdiff
path: root/games/mindguard/files/patch-aa
blob: 53fdc5a311d70670ee469cb726af65f2030382fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Makefile.orig	Sun May 21 23:03:01 2000
+++ Makefile	Thu Jul 27 23:41:05 2000
@@ -1,9 +1,10 @@
 BINDIR = /usr/local/bin
 MGDIR = /usr/local/share/MindGuard
-CC = gcc
+CC ?= gcc
+CFLAGS ?= -O -pipe
 
 mindguard: mindguard.c 
-	$(CC) `gtk-config --cflags`  mindguard.c -o mindguard `gtk-config --libs`
+	$(CC) -DX11BASE=\"${X11BASE}\" `${X11BASE}/bin/gtk12-config --cflags`  ${CFLAGS} mindguard.c -o mindguard `${X11BASE}/bin/gtk12-config --libs`
 
 clean:
 	rm -f mindguard