Mercurial > mplayer.hg
annotate libvo/Makefile @ 4708:000ca7a19331
mem2agpcpy_pic()
author | michael |
---|---|
date | Thu, 14 Feb 2002 22:34:24 +0000 |
parents | 88843786301e |
children | 78bd1fa449c3 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
4599 | 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 vo_yuv4mpeg.c $(OPTIONAL_SRCS) img_format.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 | 8 |
4089 | 9 ifeq ($(VIDIX),yes) |
4168 | 10 SRCS += vosub_vidix.c |
4089 | 11 endif |
12 | |
13 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) $(DVB_INC) -DMPG12PLAY #-Wall | |
14 ifeq ($(VIDIX),yes) | |
15 CFLAGS += -DVIDIX_PATH='"$(prefix)/lib/mplayer/vidix/"' | |
16 endif | |
1 | 17 # -I/usr/X11R6/include/ |
18 | |
19 .SUFFIXES: .c .o | |
20 | |
21 # .PHONY: all clean | |
22 | |
23 .c.o: | |
24 | 24 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 25 |
1010 | 26 $(LIBNAME): $(OBJS) |
1 | 27 $(AR) r $(LIBNAME) $(OBJS) |
28 | |
29 all: $(LIBNAME) | |
30 | |
31 clean: | |
32 rm -f *.o *.a *~ | |
33 | |
34 distclean: | |
24 | 35 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 36 |
37 dep: depend | |
38 | |
1010 | 39 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
40 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 41 |
24 | 42 # |
43 # include dependency files if they exist | |
44 # | |
45 ifneq ($(wildcard .depend),) | |
46 include .depend | |
47 endif |