Mercurial > mplayer.hg
annotate libvo/Makefile @ 3491:c9aca79b7527
x11control, direct rendering and some minor changes
author | iive |
---|---|
date | Fri, 14 Dec 2001 18:14:27 +0000 |
parents | 217f564f29ff |
children | 922241968c63 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
2732 | 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 |
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 |
2732 | 9 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall |
1 | 10 # -I/usr/X11R6/include/ |
11 | |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
24 | 17 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 18 |
1010 | 19 $(LIBNAME): $(OBJS) |
1 | 20 $(AR) r $(LIBNAME) $(OBJS) |
21 | |
22 all: $(LIBNAME) | |
23 | |
24 clean: | |
25 rm -f *.o *.a *~ | |
26 | |
27 distclean: | |
24 | 28 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 29 |
30 dep: depend | |
31 | |
1010 | 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 | 34 |
24 | 35 # |
36 # include dependency files if they exist | |
37 # | |
38 ifneq ($(wildcard .depend),) | |
39 include .depend | |
40 endif |