Respect CC and CFLAGS

This commit is contained in:
Kris Kennaway 2003-10-19 08:06:55 +00:00
parent b55e1ba4d5
commit d4565ca2f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91622

View File

@ -0,0 +1,21 @@
--- Makefile.orig Sun Oct 19 01:04:35 2003
+++ Makefile Sun Oct 19 01:04:55 2003
@@ -36,16 +36,15 @@
# HPUX cc (v10.10)
#
-CC = cc
+CC ?= cc
# Select appropriate flag... -g for debugging, -O for optimized.
#OPTIMIZE = -g
#OPTIMIZE = -p
-OPTIMIZE = -O
GCC_PARANOIA = -Wall -Wtraditional \
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
DEFINES =
-CFLAGS = $(DEFINES) $(OPTIMIZE) $(EFT) # $(GCC_PARANOIA)
+CFLAGS += $(DEFINES) $(EFT) # $(GCC_PARANOIA)
LDFLAGS =
LIBS =