LDFLAGS += -lX11
endif
-CFLAGS += `sdl-config --cflags`
+CFLAGS += $(shell sdl-config --cflags)
-LDFLAGS += `sdl-config --libs`
+LDFLAGS += $(shell sdl-config --libs)
ifeq ($(WITH_SDL_IMAGE),1)
OBJS += producer_sdl_image.o
SRCS += consumer_sdl_osx.m consumer_sdl_osx.h
endif
-ifeq ($(targetos), MinGW)
-OBJS += ../../win32/win32.o
-SRCS += ../../win32/win32.c
-endif
-
all: $(TARGET)
$(TARGET): $(OBJS)
rm -f $(OBJS) $(TARGET)
install: all
- install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
- install -d "$(DESTDIR)$(datadir)/mlt/sdl"
- install -m 644 *.yml "$(DESTDIR)$(datadir)/mlt/sdl"
+ install -m 755 $(TARGET) "$(DESTDIR)$(moduledir)"
+ install -d "$(DESTDIR)$(mltdatadir)/sdl"
+ install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/sdl"
ifneq ($(wildcard .depend),)
include .depend