1 include ../../config.mak
6 CFLAGS += -I.. $(RDYNAMIC) -DVERSION=\"$(version)\"
8 LDFLAGS += -L../framework -lmlt -lpthread
12 ifeq ($(targetos), MinGW)
13 ifeq (, $(findstring MELT_NOSDL, $(CFLAGS)))
14 CFLAGS += $(shell sdl-config --cflags)
15 LDFLAGS += $(shell sdl-config --libs)
23 $(CC) -o $@ $(OBJS) $(LDFLAGS)
26 $(CC) -MM $(CFLAGS) $^ 1>.depend
32 rm -f $(OBJS) $(meltname)
35 install -d "$(DESTDIR)$(bindir)"
36 install -c -m 755 $(meltname) "$(DESTDIR)$(bindir)"
37 ifeq ($(extra_versioning), true)
38 ifeq ($(melt_noversion), false)
39 ln -s $(meltname) "$(DESTDIR)$(bindir)/melt"
44 rm -f "$(DESTDIR)$(bindir)/$(meltname)"
45 ifeq ($(extra_versioning), true)
46 ifeq ($(melt_noversion), false)
47 rm -f "$(DESTDIR)$(bindir)/melt"
51 ifneq ($(wildcard .depend),)