aboutsummaryrefslogtreecommitdiffstats
path: root/lang/p2c/files/patch-cc
blob: 557633fab0ed0fe732eb55378c9b164b6ab0eea3 (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
--- src/Makefile.orig   Wed Dec  8 06:36:48 1993
+++ src/Makefile    Tue Apr 13 02:12:49 2004
@@ -24,8 +24,8 @@
 BINDIR = ..
 LIBDIR = ../home
 MANDIR = ../home
-MANFILE = p2c.cat          # human-readable manual (for cat.1)
-#MANFILE = p2c.man.inst    # uncompressed nroff source (for man.1)
+#MANFILE = p2c.cat          # human-readable manual (for cat.1)
+MANFILE = p2c.man.inst    # uncompressed nroff source (for man.1)
 #MANFILE = p2c.man.Z       # compressed nroff source (for man.1.Z)
 
 # Directories (public version)
@@ -37,8 +37,8 @@
 #MANFILE = p2c.man.inst
 
 # Compiler options
-CC = cc                    # you may wish to use gcc here instead
-OPT = # -O        # uncomment this for optimization
+CC ?= cc                    # you may wish to use gcc here instead
+OPT = $(CFLAGS)           # uncomment this for optimization
 DEB = # -g        # uncomment this for debugging
 DEFS =            # place other -D types of things here
 CFLAGS = $(OPT) $(DEB) $(DEFS)