6a0b0e2f0a
- Unbreak on 5.x [1] - Use PORTDOCS - Some minor cosmetic improvements Submitted by: Roman Kennke <roman@ontographics.com> [1]
24 lines
542 B
Text
24 lines
542 B
Text
$FreeBSD$
|
|
|
|
--- Makefile.orig Wed Jan 14 17:23:41 2004
|
|
+++ Makefile Thu Oct 28 14:17:10 2004
|
|
@@ -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
|
|
@@ -20,7 +20,7 @@
|
|
|
|
# Optimized version
|
|
|
|
-CFLAGS = -c -Wall -O2 -g
|
|
+CFLAGS+= -c -Wall -g
|
|
# -DSLIST removed because it wouldn't compile under gcc 3.x
|
|
# add -DHASH_TABLE for extra speed (may sometimes produce inconsistent results)
|
|
|