Mercurial > mplayer.hg
annotate libvo/Makefile @ 12393:b34654a47da1
As pointed by Diego, I forgot this.
author | lumag |
---|---|
date | Sun, 02 May 2004 10:43:14 +0000 |
parents | e0b096f0e640 |
children | e03ae519f344 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
7866
732a8bfc7681
Added the -geometry option (supports fbdev and tdfxfb drivers)
mark
parents:
7122
diff
changeset
|
6 SRCS=geometry.c aspect.c aclib.c osd.c font_load.c gtf.c spuenc.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c vo_yuv4mpeg.c $(OPTIONAL_SRCS) sub.c font_load_ft.c |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
7 OBJS=$(SRCS:.c=.o) |
1 | 8 |
4089 | 9 ifeq ($(VIDIX),yes) |
4168 | 10 SRCS += vosub_vidix.c |
4089 | 11 endif |
12 | |
11765
e0b096f0e640
linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr>
attila
parents:
11574
diff
changeset
|
13 CFLAGS = $(OPTFLAGS) -I. -I.. -I../osdep $(FREETYPE_INC) $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DXR2_INC) $(DIRECTFB_INC) -DMPG12PLAY #-Wall |
1 | 14 |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
24 | 20 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 21 |
1010 | 22 $(LIBNAME): $(OBJS) |
1 | 23 $(AR) r $(LIBNAME) $(OBJS) |
24 | |
10651
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
25 vo_mpegpes.o: vo_mpegpes.c |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
26 $(CC) -c $(CFLAGS) $(DVB_INC) -o $@ $< |
efb6dcac967d
--dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents:
8136
diff
changeset
|
27 |
1 | 28 all: $(LIBNAME) |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: | |
24 | 34 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 35 |
36 dep: depend | |
37 | |
1010 | 38 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 40 |
24 | 41 # |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif |