annotate libvo/Makefile @ 4088:4435dc3b8bef

Add DVD subtitles to menoder
author kmkaplan
date Fri, 11 Jan 2002 16:06:45 +0000
parents 922241968c63
children e1c6178de089
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 include config.mak
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 LIBNAME = libvo.a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
4088
4435dc3b8bef Add DVD subtitles to menoder
kmkaplan
parents: 4030
diff changeset
6 SRCS=aspect.c aclib.c osd.c font_load.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c x11_common.c $(OPTIONAL_SRCS) img_format.c vosub_vidix.c sub.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
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
4030
922241968c63 Embedding vidix
nick
parents: 3189
diff changeset
9 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY -DVIDIX_PATH='"$(prefix)/lib/mplayer/vidix/"' #-Wall
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 # -I/usr/X11R6/include/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 .c.o:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
19 $(LIBNAME): $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 distclean:
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 dep: depend
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31
1010
6d3a6d42c831 dependency stuff fixed
arpi_esp
parents: 866
diff changeset
32 depend:
866
91087aaea5c7 using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents: 698
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34
24
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
35 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
36 # include dependency files if they exist
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
37 #
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
38 ifneq ($(wildcard .depend),)
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
39 include .depend
b4fdbec3d729 New dependency system
arpi_esp
parents: 1
diff changeset
40 endif