2004-01-08 17:29:42 +00:00
|
|
|
# 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
|
|
|
|
|
2004-01-10 17:58:24 +00:00
|
|
|
SYSTEM_INCLUDES = -I$(TOP) -I$(TOP)/aviclasses -I$(TOP)/src/common
|
2004-01-08 17:29:42 +00:00
|
|
|
|
|
|
|
libaviclasses_SOURCES = AVIReadHandler.cpp \
|
|
|
|
AVIIndex.cpp \
|
|
|
|
list.cpp
|
|
|
|
libaviclasses_OBJECTS := $(patsubst %.cpp,%.o,$(libaviclasses_SOURCES))
|
|
|
|
|
2004-01-10 17:58:24 +00:00
|
|
|
ALL_SOURCES = $(libaviclasses_SOURCES)
|
2004-01-08 17:29:42 +00:00
|
|
|
|
|
|
|
all: $(LIBRARIES)
|
|
|
|
|
2004-01-10 17:58:24 +00:00
|
|
|
include ../Makefile.mingw.common
|
|
|
|
|
2004-01-08 17:29:42 +00:00
|
|
|
libaviclasses.a: $(libaviclasses_OBJECTS)
|
|
|
|
rm -f $@
|
|
|
|
$(RUNAR) $@ $(libaviclasses_OBJECTS)
|
2004-01-10 17:58:24 +00:00
|
|
|
$(RANLIB) $@
|