X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Finigo%2FMakefile;h=57e750e359cca0e3645f6664c59f260c2bf1e522;hb=dce862a908afdad0b783f45d962d781992a0a6da;hp=78e7cfa2b882e286fe31ed03fc8fe7abdeb80fc4;hpb=092636b85449e57fd33ffd4954a2de23c2a5f81c;p=melted diff --git a/src/inigo/Makefile b/src/inigo/Makefile index 78e7cfa..57e750e 100644 --- a/src/inigo/Makefile +++ b/src/inigo/Makefile @@ -1,11 +1,13 @@ +include ../../config.mak + TARGET = inigo OBJS = inigo.o \ io.o -CFLAGS = -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic +CFLAGS += -I.. $(RDYNAMIC) -LDFLAGS = -L ../framework -lmlt +LDFLAGS += -L../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -23,6 +25,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