Mercurial > mplayer.hg
annotate libvo/Makefile @ 15988:e5013e6b6450
10l for me
author | ranma |
---|---|
date | Sun, 17 Jul 2005 06:59:45 +0000 |
parents | d3d30585a9d2 |
children | 7949a0c4e5ad |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
15772 | 6 SRCS=aclib.c \ |
7 aspect.c \ | |
8 font_load.c \ | |
9 font_load_ft.c \ | |
10 geometry.c \ | |
11 gtf.c \ | |
12 osd.c \ | |
13 spuenc.c \ | |
14 sub.c \ | |
15 video_out.c \ | |
16 vo_mpegpes.c \ | |
17 vo_null.c \ | |
18 vo_yuv4mpeg.c \ | |
19 $(OPTIONAL_SRCS) \ | |
20 | |
15291 | 21 OBJS_TEMP=$(basename $(SRCS)) |
22 OBJS=$(OBJS_TEMP:%=%.o) | |
1 | 23 |
4089 | 24 ifeq ($(VIDIX),yes) |
4168 | 25 SRCS += vosub_vidix.c |
4089 | 26 endif |
27 | |
15772 | 28 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep \ |
29 $(FREETYPE_INC) \ | |
30 $(SDL_INC) \ | |
31 $(X11_INC) \ | |
32 $(EXTRA_INC) \ | |
33 $(DXR2_INC) \ | |
34 $(DIRECTFB_INC) \ | |
35 -DMPG12PLAY \ | |
36 | |
37 #CFLAGS += -Wall | |
1 | 38 |
15473
c1a6002fb140
If we use .m suffix we really should include it in .SUFFIXES
wight
parents:
15291
diff
changeset
|
39 .SUFFIXES: .c .o .m |
1 | 40 |
41 # .PHONY: all clean | |
42 | |
43 .c.o: | |
24 | 44 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 45 |
15291 | 46 .m.o: |
47 $(CC) -c $(CFLAGS) -o $@ $< | |
48 | |
1010 | 49 $(LIBNAME): $(OBJS) |
1 | 50 $(AR) r $(LIBNAME) $(OBJS) |
12634 | 51 $(RANLIB) $(LIBNAME) |
1 | 52 |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
53 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
54 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
55 |
1 | 56 all: $(LIBNAME) |
57 | |
58 clean: | |
59 rm -f *.o *.a *~ | |
60 | |
61 distclean: | |
24 | 62 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 63 |
64 dep: depend | |
65 | |
1010 | 66 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
67 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 68 |
24 | 69 # |
70 # include dependency files if they exist | |
71 # | |
72 ifneq ($(wildcard .depend),) | |
73 include .depend | |
74 endif |