Mercurial > mplayer.hg
annotate libvo/Makefile @ 1550:39119eb74363
*** empty log message ***
author | zybi |
---|---|
date | Thu, 16 Aug 2001 11:42:10 +0000 |
parents | 598e3047ce13 |
children | ce8e8c342004 |
rev | line source |
---|---|
1 | 1 |
2 include config.mak | |
3 | |
4 LIBNAME = libvo.a | |
5 | |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
6 SRCS=aclib.c osd.c font_load.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c x11_common.c $(OPTIONAL_SRCS) |
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 |
1309
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
9 ifeq ($(TARGET_ARCH_X86),yes) |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
10 SRCS += rgb15to16mmx.c yuv2rgb_mmx.c |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
11 endif |
598e3047ce13
Add some preliminary support for non-x86 architectures to mplayer
jkeil
parents:
1234
diff
changeset
|
12 |
1234 | 13 CFLAGS = $(OPTFLAGS) -I. -I.. $(SDL_INC) $(X11_INC) $(EXTRA_INC) -DMPG12PLAY |
1 | 14 # -I/usr/X11R6/include/ |
15 | |
16 .SUFFIXES: .c .o | |
17 | |
18 # .PHONY: all clean | |
19 | |
20 .c.o: | |
24 | 21 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 22 |
1010 | 23 $(LIBNAME): $(OBJS) |
1 | 24 $(AR) r $(LIBNAME) $(OBJS) |
25 | |
26 all: $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
31 distclean: | |
24 | 32 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 33 |
34 dep: depend | |
35 | |
1010 | 36 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
698
diff
changeset
|
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 38 |
24 | 39 # |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |