Minor optimisations, consumer avformat experimentation
[melted] / src / albino / Makefile
index 7507b8a..4ad38e4 100644 (file)
@@ -1,8 +1,10 @@
+include ../../config.mak
+
 TARGET = albino
 
 OBJS = albino.o
 
-CFLAGS = -O3 -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
+CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic
 
 LDFLAGS = -L ../valerie -L ../miracle -L ../framework -lmiracle -lmlt -lvalerie
 
@@ -22,6 +24,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