Revision f3ec2d46 Makefile

View differences:

Makefile
18 18
EXE=.exe
19 19
PROG=ffmpeg$(EXE)
20 20
else
21
EXT=
21
ifeq ($(CONFIG_OS2),yes)
22
EXE=.exe
23
PROG=ffmpeg$(EXE)
24
else
25
EXE=
22 26
PROG=ffmpeg ffplay
23 27
ifeq ($(CONFIG_FFSERVER),yes)
24 28
PROG+=ffserver
25 29
endif
26 30
endif
31
endif
27 32

  
28 33
ifeq ($(CONFIG_AUDIO_BEOS),yes)
29 34
EXTRALIBS+=-lmedia -lbe
30 35
endif
31 36

  
32 37
ifeq ($(BUILD_SHARED),yes)
33
DEP_LIBS=libavcodec/libavcodec.so libavformat/libavformat.a
38
DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
34 39
else
35
DEP_LIBS=libavcodec/libavcodec.a libavformat/libavformat.a
40
DEP_LIBS=libavcodec/$(LIBPREF)avcodec$(LIBSUF) libavformat/$(LIBPREF)avformat$(LIBSUF)
36 41
ifeq ($(CONFIG_MP3LAME),yes)
37 42
EXTRALIBS+=-lmp3lame
38 43
endif
......
61 66
              -lavformat -lavcodec $(EXTRALIBS)
62 67

  
63 68
ffmpeg$(EXE): ffmpeg_g$(EXE)
64
	cp -p $< $@ ; $(STRIP) $@
69
	cp -p $< $@
70
	$(STRIP) $@
65 71

  
66 72
ffserver$(EXE): ffserver.o $(DEP_LIBS)
67 73
	$(CC) $(LDFLAGS) $(FFSLDFLAGS) \

Also available in: Unified diff