Revision 2744a37f Makefile

View differences:

Makefile
15 15
PROG=ffmpeg$(EXE)
16 16
else
17 17
EXT=
18
PROG=ffmpeg ffserver
18
PROG=ffmpeg ffplay ffserver
19 19
endif
20 20

  
21 21
all: lib $(PROG)
......
30 30
ffserver$(EXE): ffserver.o libav/libav.a libavcodec/libavcodec.a
31 31
	$(CC) $(LDFLAGS) -o $@ $^ -lm
32 32

  
33
ffplay: ffmpeg$(EXE)
34
	ln -sf $< $@
35

  
33 36
%.o: %.c
34 37
	$(CC) $(CFLAGS) -c -o $@ $< 
35 38

  
36 39
install: all
37 40
	install -s -m 755 $(PROG) $(prefix)/bin
41
	ln -sf ffmpeg $(prefix)/bin/ffplay 
38 42

  
39 43
clean: 
40 44
	$(MAKE) -C libavcodec clean

Also available in: Unified diff