$OpenBSD: patch-Makefile,v 1.1.1.1 2002/06/03 14:51:26 naddy Exp $
--- Makefile.orig	Fri May 17 15:25:39 2002
+++ Makefile	Fri May 17 15:26:28 2002
@@ -9,14 +9,10 @@
 CPP=g++
 INSTDIR=`xmms-config --plugin-dir`/Input
 
-ifdef DEBUG
-  CFLAGS=-Wall -O2 -fno-exceptions -ffast-math -D_REENTRANT `gtk-config --cflags` -g -DDEBUG
-else
-  CFLAGS=-Wall -O2 -fno-exceptions -ffast-math -D_REENTRANT `gtk-config --cflags`
-endif
+CXXFLAGS+= -fno-exceptions -ffast-math -D_REENTRANT `xmms-config --cflags`
 
 libbonk.so : bonk-xmms.cc
-	$(CPP) $(CFLAGS) -shared -o libbonk.so bonk-xmms.cc -lstdc++
+	$(CXX) $(CXXFLAGS) -shared -o libbonk.so bonk-xmms.cc -lstdc++
 
 install : libbonk.so
 	cp libbonk.so $(INSTDIR)
