$NetBSD: patch-aa,v 1.2 2005/12/28 13:46:07 joerg Exp $ --- Makefile.orig 2003-12-23 05:21:14.000000000 +0000 +++ Makefile @@ -62,7 +62,7 @@ EXEDIR = ../exe # # #A minimal one -CFLAGS = +#CFLAGS = # # A basic one for debugging #CFLAGS = -g @@ -111,7 +111,7 @@ LIBS = -lm # # For gcc for Linux with X windows development packages installed # or for MacOS X with X windows installed -DLIBS= -L/usr/X11R6/lib/ -lX11 -lXaw -lXt +DLIBS= ${X11_LDFLAGS} -lX11 -lXaw -lXt # # ---------------------------------------------------------------------------- # @@ -119,7 +119,7 @@ DLIBS= -L/usr/X11R6/lib/ -lX11 -lXaw -lX # ordinary compiles and the tree-drawing programs, CC and DC # # This one specifies the "cc" C compiler -CC = cc $(CFLAGS) +CC := ${CC} $(CFLAGS) # # To use GCC instead, if it is not the compiler that "cc" invokes #CC = gcc $(CFLAGS)