freebsd-ports/devel/ucpp/files/patch-Makefile
Kirill Ponomarev 8de242e7d2 Update to 1.3
* brand new integer evaluation code, with precise evaluation
* and checks
* new hash table implementation, with binary trees
* relaxed attitude on failed `##' operators
* bugfix on macro definition on command-line wrt nesting macros
* support for up to 32766 macro arguments in LOW_MEM code
* support for optional additional "identifier" characters such
* as '$' or '@'
* bugfix: memory leak on void #assert

PR:		54989
Submitted by:	Mark Linimon <linimon@lonesome.com>
Approved by:	fjoe (mentor) (implicit)
2003-07-28 20:59:02 +00:00

22 lines
601 B
Text

--- Makefile.orig Wed Jan 15 02:07:44 2003
+++ Makefile Sun Jul 27 14:51:51 2003
@@ -56,8 +56,8 @@
#FLAGS = -O -m -DMEM_CHECK
# for gcc
-CC = gcc
-FLAGS = -g -W -Wall -ansi -DAUDIT -DMEM_DEBUG
+CC ?= gcc
+FLAGS = -ansi -DAUDIT -DMEM_DEBUG
#FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -W -Wall -ansi -DMEM_CHECK
#FLAGS = -O -pg -W -Wall -ansi -DMEM_CHECK
#LDFLAGS = -pg
@@ -80,7 +80,7 @@
# ----- nothing should be changed below this line -----
COBJ = mem.o nhash.o cpp.o lexer.o assert.o macro.o eval.o
-CFLAGS = $(FLAGS) -DSTAND_ALONE
+CFLAGS += $(FLAGS) -DSTAND_ALONE
all: ucpp