X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmodules%2Fsdl%2FMakefile;h=1bb3b7a68c2e19e121395318297d2dccd4a8bf6a;hb=4ec9b74a76a75383bbde704ad63e0e430bc9eeff;hp=24a0faf244374929d3a585beb273635d2cc08f9f;hpb=419dc228c5402f67b4aea86a847dc0540b27a10d;p=mlt diff --git a/src/modules/sdl/Makefile b/src/modules/sdl/Makefile index 24a0faf2..1bb3b7a6 100644 --- a/src/modules/sdl/Makefile +++ b/src/modules/sdl/Makefile @@ -17,7 +17,7 @@ OBJS = factory.o \ ifeq ($(targetos),Darwin) CFLAGS += -ObjC LDFLAGS += -lobjc -framework Foundation -else +else ifeq ($(targetos), Linux|FreeBSD) LDFLAGS += -lX11 endif @@ -37,6 +37,11 @@ OBJS += consumer_sdl_osx.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)