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