summaryrefslogtreecommitdiff
path: root/games/traindirector/files/patch-Makefile
blob: 5d656944eaa845bf1ec55661b56ccf18d9a21b92 (plain) (blame)
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
--- Makefile.orig	Tue Mar 25 20:50:38 2003
+++ Makefile	Mon Sep  8 12:31:58 2003
@@ -4,8 +4,8 @@
 #
 VERSION=1.18e
 
-BINDIR=/usr/local/bin
-SAMPLEDIR=/usr/local/share
+BINDIR=$(PREFIX)/bin
+SAMPLEDIR=$(PREFIX)/share
 
 SHELL = /bin/sh
 INSTALL = install
@@ -16,9 +16,9 @@
 GLIBINC=`glib-config --cflags`
 GLIBLIB=`glib-config --libs`
 
-CFLAGS = -g ${GLIBINC} ${GTKINC} -Dunix
+CFLAGS += -g ${GLIBINC} ${GTKINC} -Dunix
 
-CC = cc
+CC ?= cc
 
 LIBS = ${GLIBLIB} ${GTKLIB}