annotate libmpeg2/Makefile @ 113:f6f8f53b75ad

common FIFO code moved to fifo.c
author arpi_esp
date Fri, 16 Mar 2001 00:06:50 +0000
parents 846535ace7a2
children 91087aaea5c7
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 LIBNAME = libmpeg2.a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 include ../config.mak
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5
36
846535ace7a2 libmpeg2-0.2.0 merge
arpi_esp
parents: 27
diff changeset
6 SRCS = header.c idct.c idct_mmx.c motion_comp.c motion_comp_mmx.c slice.c stats.c decode.c
846535ace7a2 libmpeg2-0.2.0 merge
arpi_esp
parents: 27
diff changeset
7 OBJS = header.o idct.o idct_mmx.o motion_comp.o motion_comp_mmx.o slice.o stats.o decode.o
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 INCLUDE = -I. -I../libvo -I..
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
9 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 .SUFFIXES: .c .o
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 # .PHONY: all clean
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 .c.o:
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
16 $(CC) -c $(CFLAGS) -o $@ $<
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
18 $(LIBNAME): .depend $(OBJS)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 $(AR) r $(LIBNAME) $(OBJS)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 all: $(LIBNAME)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 clean:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 rm -f *.o *.a *~
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 distclean:
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
27 rm -f Makefile.bak *.o *.a *~ .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
29 dep: depend
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
30 depend: .depend
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
32 .depend: Makefile ../config.mak ../config.h
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
33 makedepend -f- -- $(CFLAGS) -- $(SRCS) 1>.depend 2>/dev/null
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34
27
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
35 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
36 # include dependency files if they exist
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
37 #
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
38 ifneq ($(wildcard .depend),)
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
39 include .depend
f0f2a9174225 New dependency system
arpi_esp
parents: 1
diff changeset
40 endif