summaryrefslogtreecommitdiff
path: root/games/nethack32-gtk/files/src-Makefile.diff
blob: 3ce69c568c15052342e0e846d632b340d6acb906 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/Makefile.orig	Wed Jun 14 22:37:10 2000
+++ src/Makefile	Wed Jun 14 22:38:40 2000
@@ -124,8 +124,8 @@
 # flags for debugging:
 # CFLAGS = -g -I../include
 
-CFLAGS = -O -I../include -I/usr/X11R6/include `gtk-config --cflags`
-LFLAGS = -O -L/usr/X11R6/lib `gtk-config --libs`
+CFLAGS += -I../include -I${X11BASE}/include `${GTK_CONFIG} --cflags`
+LFLAGS = -L${X11BASE}/lib `${GTK_CONFIG} --libs`
 
 # Set the WINSRC, WINOBJ, and WINLIB lines to correspond to your desired
 # combination of windowing systems.  Also set windowing systems in config.h.