X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=0b67a319506d5212722ac9df5d143ff5d5471388;hb=380ba25c38651c7bbbe6bbefe5091e3b8fd9b1b4;hp=78e7cfa2b882e286fe31ed03fc8fe7abdeb80fc4;hpb=092636b85449e57fd33ffd4954a2de23c2a5f81c;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index 78e7cfa..0b67a31 100644 --- a/src/inigo/Makefile +++ b/src/inigo/Makefile @@ -1,12 +1,19 @@ +include ../../config.mak + TARGET = inigo OBJS = inigo.o \ io.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 ../framework -lmlt +ifeq ($(MLT_GPROF),true) +CFLAGS+=-p +LDFLAGS+=-p +endif + SRCS := $(OBJS:.o=.c) all: $(TARGET) @@ -23,6 +30,10 @@ dist-clean: clean clean: rm -f $(OBJS) $(TARGET) +install: all + install -d "$(bindir)" + install -c -s -m 755 $(TARGET) "$(bindir)" + ifneq ($(wildcard .depend),) include .depend endif