Mercurial > mplayer.hg
annotate libao2/Makefile @ 20671:66f2db668910
Always respect w and h params to mpcodecs_config_vo over
sh->disp_w and sh->disp_h, otherwise it will break when the
resolution changes mid-stream, like in
http://samples.mplayerhq.hu/MPEG2/res_change_ffmpeg_aspect.ts
author | reimar |
---|---|
date | Sun, 05 Nov 2006 12:10:44 +0000 |
parents | 4f71ed7cb512 |
children | 618d1857f4c4 |
rev | line source |
---|---|
19034 | 1 include ../config.mak |
954 | 2 |
1013
74d55f3c4680
libao->libao2 because of conflict with OMS's libao
arpi_esp
parents:
1010
diff
changeset
|
3 LIBNAME = libao2.a |
954 | 4 |
15772 | 5 SRCS=audio_out.c \ |
6 ao_mpegpes.c \ | |
7 ao_null.c \ | |
8 ao_pcm.c \ | |
19034 | 9 $(AO_SRCS) \ |
3631
5f5189ac6a41
Added plugin for fractional resampling (alpha code)
anders
parents:
3484
diff
changeset
|
10 |
954 | 11 OBJS=$(SRCS:.c=.o) |
12 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
13 CFLAGS = -I. -I.. $(OPTFLAGS) |
954 | 14 |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
20 $(CC) -c $(CFLAGS) -o $@ $< | |
21 | |
1010 | 22 $(LIBNAME): $(OBJS) |
954 | 23 $(AR) r $(LIBNAME) $(OBJS) |
12632 | 24 $(RANLIB) $(LIBNAME) |
954 | 25 |
26 all: $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15772
diff
changeset
|
31 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
15772
diff
changeset
|
32 rm -f .depend |
954 | 33 |
34 dep: depend | |
35 | |
1010 | 36 depend: |
954 | 37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
38 | |
39 # | |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |