]> git.sesse.net Git - mlt/blobdiff - src/modules/core/Makefile
Initial port to Windows using MinGW.
[mlt] / src / modules / core / Makefile
index a619286841ad714fcf7b312e40d89cb956957ef0..788319c9f622ade2232ddf5af98d59dd50f7217b 100644 (file)
@@ -43,6 +43,12 @@ ASM_OBJS =
 
 SRCS := $(OBJS:.o=.c)
 
+ifeq ($(targetos), MinGW)
+CFLAGS += -I../../win32
+OBJS += ../../win32/fnmatch.o
+SRCS += ../../win32/fnmatch.c
+endif
+
 all:   $(TARGET)
 
 $(TARGET): $(OBJS) $(ASM_OBJS)