Mercurial > libavformat.hg
comparison Makefile @ 212:84b7fd1abf2c libavformat
MingW patches by (Glenn Maynard <g_sf at zewt dot org>)
author | michaelni |
---|---|
date | Thu, 04 Sep 2003 08:21:27 +0000 |
parents | 349d63d52e7e |
children | 89a78842f6c2 |
comparison
equal
deleted
inserted
replaced
211:349d63d52e7e | 212:84b7fd1abf2c |
---|---|
78 rm -f $@ | 78 rm -f $@ |
79 $(AR) rc $@ $(OBJS) $(PPOBJS) | 79 $(AR) rc $@ $(OBJS) $(PPOBJS) |
80 $(RANLIB) $@ | 80 $(RANLIB) $@ |
81 | 81 |
82 $(SLIB): $(OBJS) | 82 $(SLIB): $(OBJS) |
83 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) | 83 ifeq ($(TARGET_MINGW32),yes) |
84 $(CC) $(SHFLAGS) -Wl,--output-def,$(@:.dll=.def) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) $(VPATH)/../libavcodec/avcodec.dll | |
85 -lib /machine:i386 /def:$(@:.dll=.def) | |
86 else | |
87 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) | |
88 endif | |
84 | 89 |
85 depend: $(SRCS) | 90 depend: $(SRCS) |
86 $(CC) -MM $(CFLAGS) $^ 1>.depend | 91 $(CC) -MM $(CFLAGS) $^ 1>.depend |
87 | 92 |
88 install: all | 93 install: all |