X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Falbino%2FMakefile;h=45b7c8078fbc6cbce8a698d8b2f408295d7e8e95;hb=2bd3c395eac9fb8b02f6b39786659c7d1481872d;hp=4ad38e487c54c988ee2ebe1852955b14393fed26;hpb=f2dda0fcd1c242afcd07f2c2ef98f8f6b3fb0e13;p=melted diff --git a/src/albino/Makefile b/src/albino/Makefile index 4ad38e4..45b7c80 100644 --- a/src/albino/Makefile +++ b/src/albino/Makefile @@ -4,9 +4,9 @@ TARGET = albino OBJS = albino.o -CFLAGS = -O4 -pipe -ffast-math -fomit-frame-pointer -I .. -Wall -g -D_FILE_OFFSET_BITS=64 -pthread -rdynamic +CFLAGS += -I.. $(RDYNAMIC) -LDFLAGS = -L ../valerie -L ../miracle -L ../framework -lmiracle -lmlt -lvalerie +LDFLAGS += -L../miracle -lmiracle -L../valerie -lvalerie -L../miracle -lmiracle -L../framework -lmlt SRCS := $(OBJS:.o=.c) @@ -18,15 +18,18 @@ $(TARGET): $(OBJS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend -dist-clean: clean +distclean: clean rm -f .depend clean: rm -f $(OBJS) $(TARGET) install: all - install -d "$(bindir)" - install -c -s -m 755 $(TARGET) "$(bindir)" + install -d "$(DESTDIR)$(bindir)" + install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)" + +uninstall: + rm -f "$(DESTDIR)$(bindir)/$(TARGET)" ifneq ($(wildcard .depend),) include .depend