bugfix mmx scaling with performance loss :-(
[melted] / src / humperdink / Makefile
index 53f2f96..b8aba7a 100644 (file)
@@ -4,10 +4,15 @@ OBJS = client.o \
        io.o \
           remote.o
 
-CFLAGS = -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
+CFLAGS = -O3 -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
 
 LDFLAGS = -L ../valerie -lvalerie
 
+ifeq ($(MLT_GPROF),true)
+CFLAGS+=-p
+LDFLAGS+=-p
+endif
+
 SRCS := $(OBJS:.o=.c)
 
 all: $(TARGET)