$OpenBSD: patch-Makefile,v 1.2 2010/03/21 09:31:48 jasper Exp $
--- Makefile.orig	Thu Aug 13 17:43:13 2009
+++ Makefile	Tue Jan 26 17:35:03 2010
@@ -54,7 +54,7 @@ $(OBJS): $(OBJ_DIR)/Sentry
 # Under Cygwin replace strip $@ with strip $@.exe
 
 cfdg: $(OBJS)
-	$(LINK.o) $^ -L/usr/local/lib -lstdc++ -lpng -lz -fexceptions -o $@
+	$(LINK.o) $^ -L$(LOCALBASE)/lib -lstdc++ -lpng -lz -lm -fexceptions -o $@
 	strip $@
 
 
@@ -105,7 +105,7 @@ $(OUTPUT_DIR)/rtest-2k.png: cfdg $(RTEST_CFDG)
 #
 
 CPPFLAGS += $(patsubst %,-I%,$(INC_DIRS))
-CPPFLAGS += -O3 -Wall
+#CPPFLAGS += -O3 -Wall
 #CPPFLAGS += -ggdb
 
 $(OBJ_DIR)/%.o : %.cpp
