X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Ftests%2FMakefile;h=0dd5bb8e7a60dadb4f068a85074801512ee529f2;hb=bd208d01a2a792e698a9b4884b43602b2f245a8f;hp=448e44e1bfc77d8e6f9fad26855f2689927933ac;hpb=eca5634cbdc39a4a6fdc5cee21fc0656525dd898;p=melted diff --git a/src/tests/Makefile b/src/tests/Makefile index 448e44e..0dd5bb8 100644 --- a/src/tests/Makefile +++ b/src/tests/Makefile @@ -1,11 +1,33 @@ -TARGET = dan charlie +include ../../config.mak -CFLAGS = -I .. -Wall -rdynamic -pthread +TARGET = dan charlie pango pixbuf dissolve luma -LDFLAGS = -L ../framework -lmlt +CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I .. -Wall -rdynamic -pthread + +LDFLAGS = -L ../framework -L ../modules -lmlt -lmltdv -lmltsdl + +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) + +pixbuf: pixbuf.o + $(CC) pixbuf.o -o $@ $(LDFLAGS) + +dissolve: dissolve.o + $(CC) dissolve.o -o $@ $(LDFLAGS) + +luma: luma.o + $(CC) luma.o -o $@ $(LDFLAGS) + dan: dan.o $(CC) dan.o -o $@ $(LDFLAGS)