You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
607 B
37 lines
607 B
15 years ago
|
include ../../config.mak
|
||
|
|
||
|
TARGET = albino
|
||
|
|
||
|
OBJS = albino.o
|
||
|
|
||
|
CFLAGS += -I.. $(RDYNAMIC)
|
||
|
|
||
|
LDFLAGS += -L../miracle -lmiracle -L../valerie -lvalerie -L../miracle -lmiracle -L../framework -lmlt
|
||
|
|
||
|
SRCS := $(OBJS:.o=.c)
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJS)
|
||
|
$(CC) -o $@ $(OBJS) $(LDFLAGS)
|
||
|
|
||
|
depend: $(SRCS)
|
||
|
$(CC) -MM $(CFLAGS) $^ 1>.depend
|
||
|
|
||
|
distclean: clean
|
||
|
rm -f .depend
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJS) $(TARGET)
|
||
|
|
||
|
install: all
|
||
|
install -d "$(DESTDIR)$(bindir)"
|
||
|
install -c -s -m 755 $(TARGET) "$(DESTDIR)$(bindir)"
|
||
|
|
||
|
uninstall:
|
||
|
rm -f "$(DESTDIR)$(bindir)/$(TARGET)"
|
||
|
|
||
|
ifneq ($(wildcard .depend),)
|
||
|
include .depend
|
||
|
endif
|