X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fvalerie%2FMakefile;h=7322577fb736a8f05707808c83037331b8424a80;hb=2c0cf75e5da5906e48c5a6398bd48d04501283b9;hp=6afae18766a263acfcbc238f8bdf11571cb44a69;hpb=9390e8b584f3f717f0a326893c0e37cf187a0a51;p=melted diff --git a/src/valerie/Makefile b/src/valerie/Makefile index 6afae18..7322577 100644 --- a/src/valerie/Makefile +++ b/src/valerie/Makefile @@ -13,10 +13,15 @@ OBJS = valerie.o \ SRCS := $(OBJS:.o=.c) -CFLAGS=-Wall -g -D_FILE_OFFSET_BITS=64 -pthread +CFLAGS=-O3 -Wall -g -D_FILE_OFFSET_BITS=64 -pthread LDFLAGS=-ldv -lpthread +ifeq ($(MLT_GPROF),true) +CFLAGS+=-p +LDFLAGS+=-p +endif + all: $(TARGET) $(TARGET): $(OBJS)