mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 20:01:53 +00:00
28 lines
662 B
Makefile
28 lines
662 B
Makefile
# mkvtoolnix - Makefile for MinGW
|
|
# because I was fed up fighting against libtool
|
|
|
|
# Put all the user changeable options into one file
|
|
include ../Makefile.mingw.options
|
|
|
|
ifneq (,$(findstring aviclasses,$(AVILIB)))
|
|
LIBRARIES = libaviclasses.a
|
|
endif
|
|
|
|
SYSTEM_INCLUDES = -I$(TOP) -I$(TOP)/aviclasses -I$(TOP)/src/common
|
|
|
|
libaviclasses_SOURCES = AVIReadHandler.cpp \
|
|
AVIIndex.cpp \
|
|
list.cpp
|
|
libaviclasses_OBJECTS := $(patsubst %.cpp,%.o,$(libaviclasses_SOURCES))
|
|
|
|
ALL_SOURCES = $(libaviclasses_SOURCES)
|
|
|
|
all: $(LIBRARIES)
|
|
|
|
include ../Makefile.mingw.common
|
|
|
|
libaviclasses.a: $(libaviclasses_OBJECTS)
|
|
rm -f $@
|
|
$(RUNAR) $@ $(libaviclasses_OBJECTS)
|
|
$(RANLIB) $@
|