ifeq ($(targetos),Darwin)
CFLAGS += -ObjC
LDFLAGS += -lobjc -framework Foundation
-else
+else ifneq ($(targetos), MinGW)
LDFLAGS += -lX11
endif
install: all
install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+ install -d "$(DESTDIR)$(datadir)/mlt/sdl"
+ install -m 644 *.yml "$(DESTDIR)$(datadir)/mlt/sdl"
ifneq ($(wildcard .depend),)
include .depend