summaryrefslogtreecommitdiff
path: root/devel/ucpp/files/patch-Makefile
blob: 859fa3ea81f8991376a4ca596a8a9870e6cca011 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Makefile.orig	Wed Feb 20 18:49:16 2002
+++ Makefile	Sun Dec  1 09:01:06 2002
@@ -56,8 +56,8 @@
 #FLAGS = -O -m -DMEM_CHECK
 
 # for gcc
-CC = gcc
-FLAGS = -g -Wall -ansi -pedantic -DAUDIT -DMEM_DEBUG
+CC ?= gcc
+FLAGS = -ansi -pedantic -DAUDIT -DMEM_DEBUG
 #FLAGS = -O3 -Wall -ansi -pedantic -DMEM_CHECK
 
 # for the Compaq C compiler on Alpha/Linux
@@ -78,7 +78,7 @@
 # ----- nothing should be changed below this line -----
 
 COBJ = mem.o hash.o cpp.o lexer.o assert.o macro.o eval.o
-CFLAGS = $(FLAGS) -DSTAND_ALONE
+CFLAGS += $(FLAGS) -DSTAND_ALONE
 
 all: ucpp