diff -ur wizznic-0.9.9-src/Makefile wizznic-0.9.9-src-haiku/Makefile
--- wizznic-0.9.9-src/Makefile	2011-12-29 22:12:52.035651584 +0000
+++ wizznic-0.9.9-src-haiku/Makefile	2012-12-06 22:26:56.127926272 +0000
@@ -19,7 +19,7 @@
 INCS =  -I. -I/usr/include -I/usr/include/SDL
 
 LDFLAGS=$(CFLAGS)
-LIBS = -lSDL -lSDL_image -lSDL_mixer -lpng -lm -lz -lpthread
+LIBS = -lSDL -lSDL_image -lSDL_mixer -lpng -lz 
 
 #Are we compiling with gl?
 ifneq ($(WITH_OPENGL),false)
