ifneq ($(WANT_LIBZMPEG),no)
-CC = gcc
+# for mmx inlines
+#CC = gcc
NASM = nasm
USE_MMX ?= 0
DYNAMIC_FONTS ?= 1
LIBS = -lm -lpthread
-LIBS += $(lib_a52dec) $(lib_djbfft)
+LIBS += $(lib_a52dec) $(lib_djbfft) $(lib_libbthread)
ifeq ($(DYNAMIC_FONTS), 1)
LIBS += -lX11