Mercurial > mplayer.hg
annotate libmpeg2/Makefile @ 2890:1db780ee8117
hmm this is probably a better place for the check, as only the
Intel stuff has to be overwritten.
author | gabucino |
---|---|
date | Wed, 14 Nov 2001 00:33:39 +0000 |
parents | f6d2a4bc9bb5 |
children | 0cdc1388f02f |
rev | line source |
---|---|
1 | 1 |
2 LIBNAME = libmpeg2.a | |
3 | |
4 include ../config.mak | |
5 | |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
6 SRCS = header.c idct.c idct_mmx.c idct_mlib.c \ |
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
7 motion_comp.c motion_comp_mmx.c motion_comp_mlib.c \ |
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
8 slice.c stats.c decode.c |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
9 OBJS = $(SRCS:.c=.o) |
1680
f6d2a4bc9bb5
Enable mediaLib support for Solaris on UltraSPARC CPUs
jkeil
parents:
1234
diff
changeset
|
10 INCLUDE = -I. -I../libvo -I.. $(EXTRA_INC) $(MLIB_INC) |
27 | 11 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
1 | 12 |
13 .SUFFIXES: .c .o | |
14 | |
15 # .PHONY: all clean | |
16 | |
17 .c.o: | |
27 | 18 $(CC) -c $(CFLAGS) -o $@ $< |
1 | 19 |
1010 | 20 $(LIBNAME): $(OBJS) |
1 | 21 $(AR) r $(LIBNAME) $(OBJS) |
22 | |
23 all: $(LIBNAME) | |
24 | |
25 clean: | |
26 rm -f *.o *.a *~ | |
27 | |
28 distclean: | |
27 | 29 rm -f Makefile.bak *.o *.a *~ .depend |
1 | 30 |
27 | 31 dep: depend |
1 | 32 |
1010 | 33 depend: |
866
91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
arpi_esp
parents:
36
diff
changeset
|
34 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend |
1 | 35 |
27 | 36 # |
37 # include dependency files if they exist | |
38 # | |
39 ifneq ($(wildcard .depend),) | |
40 include .depend | |
41 endif |