Ticket #35662: patch-Makefile

File patch-Makefile, 734 bytes (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

new version of Makefile patch

Line 
1--- Makefile.orig       2012-06-01 07:51:09.000000000 -0500
2+++ Makefile    2012-08-13 18:18:54.000000000 -0500
3@@ -19,23 +19,23 @@
4 SHELL = /bin/sh
5 
6 # The C compiler and linker to use
7-CC     = gcc
8-CFLAGS = -g -O2 -Wall
9-LD     = gcc
10-LDFLAGS =
11+CC     = __CC__
12+CFLAGS = -g __CFLAGS__ -Wall
13+LD     = __CC__
14+LDFLAGS = __LDFLAGS__
15 
16 # Feature flags:
17 #   define TLF_FONTS to use TOIlet TLF fonts
18 XCFLAGS        = -DTLF_FONTS
19 
20 # Where to install files
21-prefix = /usr/local
22+prefix = __PREFIX__
23 
24 # Where the executables should be put
25 BINDIR = $(prefix)/bin
26 
27 # Where the man page should be put
28-MANDIR = $(prefix)/man
29+MANDIR = $(prefix)/share/man
30 
31 # Where figlet will search first for fonts (the ".flf" files).
32 DEFAULTFONTDIR = $(prefix)/share/figlet