summaryrefslogtreecommitdiff
path: root/java/jlint/files/patch-Makefile
blob: 9cae9f698201588db2b36ff201a10c89ca3689f1 (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 19 17:20:06 2003
+++ Makefile	Wed Feb 19 17:21:13 2003
@@ -3,8 +3,8 @@
 # Makefile for Unix and GNU/Linux with gcc/g++ compiler
 # Edit here:
 
-CC=gcc
-CPP=g++
+CC?=gcc
+CPP=$(CXX)
 
 # Hints:
 # if you use egcs-2.90.* version of GCC please add option -fno-exceptions 
@@ -18,7 +18,7 @@
 
 # Optimized version
 
-CFLAGS = -c -Wall -O2 -g -DSLIST
+CFLAGS += -c
 # add -DHASH_TABLE for extra speed (may sometimes produce inconsistent results)
 
 # Optimized version with switched off asserts