Revision 320d060a libavutil/Makefile

View differences:

libavutil/Makefile
6 6
VPATH=$(SRC_PATH)/libavutil
7 7

  
8 8
# NOTE: -I.. is needed to include config.h
9
CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
9
CFLAGS=$(OPTFLAGS) -DHAVE_AV_CONFIG_H -DBUILD_AVUTIL -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
10 10

  
11 11
#FIXME: This should be in configure/config.mak
12 12
ifeq ($(CONFIG_WIN32),yes)
13
    LDFLAGS=-Wl,--output-def,$(@:.dll=.def)
13
    LDFLAGS=-Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
14 14
endif
15 15

  
16 16
OBJS= mathematics.o \
......
53 53
dep:	depend
54 54

  
55 55
clean:
56
	rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll
56
	rm -f *.o *.d *~ *.a *.lib *.so *.dylib *.dll \
57
	      *.lib *.def *.dll.a *.exp
57 58

  
58 59
distclean: clean
59 60
	rm -f .depend

Also available in: Unified diff