summaryrefslogtreecommitdiff
path: root/games/xdesktopwaves/files/patch-makefile
blob: ab57a74ad54dac21f410e8fa21912c110be905be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- Makefile.orig	Sat Dec 18 13:47:40 2004
+++ Makefile	Wed Feb 23 22:28:56 2005
@@ -11,19 +11,19 @@
 
 #=========================== C compiler configuration ==========================
 
-CC     = gcc
-CFLAGS = -I/usr/X11R6/include -O2
+#CC     = gcc
+CFLAGS += -I$(X11BASE)/include
 
 #============================= Linker configuration ============================
 
-LINK   = gcc
-LFLAGS = -L/usr/X11R6/lib
+LINK   = $(CC)
+LFLAGS = -L$(X11BASE)/lib
 LIBS   = -lm -lX11 -lXext
 
 #============================ Installer configuration ==========================
 
-BINDIR  = /usr/X11R6/bin
-MAN1DIR = /usr/X11R6/man/man1
+BINDIR  = $(X11BASE)/bin
+MAN1DIR = $(X11BASE)/man/man1
 INSTALL = install
 RM      = rm -f -v