X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Ftests%2FMakefile;h=0c81bdf84cc11ad18cba76008aadaefdcff24327;hb=d5fa53ca96e2cf875f7de0890292d9db2abbda80;hp=92ef0eb9fd21fb2c0490ab9ba4659cca92ee2502;hpb=a0a988c50fce047427b445d5e21d7354862e8e23;p=melted diff --git a/src/tests/Makefile b/src/tests/Makefile index 92ef0eb..0c81bdf 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -2,19 +2,14 @@ include ../../config.mak TARGET = dan charlie pango pixbuf dissolve luma -CFLAGS = -O3 -I .. -Wall -rdynamic -pthread +CFLAGS += -I.. $(RDYNAMIC) -LDFLAGS = -L ../framework -L ../modules -lmlt -lmltdv -lmltsdl - -ifeq ($(MLT_GPROF),true) -CFLAGS+=-p -LDFLAGS+=-p -endif +LDFLAGS += -L../framework -L../modules -lmlt all: $(TARGET) hello: hello.o - $(CC) hello.o -o $@ -L ../framework -L ../modules -lmlt + $(CC) hello.o -o $@ -L../framework -L../modules -lmlt pango: pango.o $(CC) pango.o -o $@ $(LDFLAGS)