comparison libmpeg2/Makefile @ 1:3b5f5d1c5041

Initial revision
author arpi_esp
date Sat, 24 Feb 2001 20:28:24 +0000
parents
children f0f2a9174225
comparison
equal deleted inserted replaced
0:c1bb2c071d63 1:3b5f5d1c5041
1
2 LIBNAME = libmpeg2.a
3
4 include ../config.mak
5
6 SRCS = decode.c header.c idct.c idct_mmx.c motion_comp.c motion_comp_mmx.c slice.c stats.c
7 OBJS = decode.o header.o idct.o idct_mmx.o motion_comp.o motion_comp_mmx.o slice.o stats.o
8 CFLAGS = $(OPTFLAGS) -DMPG12PLAY
9 INCLUDE = -I. -I../libvo -I..
10
11 .SUFFIXES: .c .o
12
13 # .PHONY: all clean
14
15 .c.o:
16 $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $<
17
18 $(LIBNAME): $(OBJS)
19 $(AR) r $(LIBNAME) $(OBJS)
20
21 all: $(LIBNAME)
22
23 clean:
24 rm -f *.o *.a *~
25
26 distclean:
27 makedepend
28 rm -f Makefile.bak *.o *.a *~
29
30 dep: depend
31
32 depend:
33 makedepend -- $(CFLAGS) -- $(SRCS) &> /dev/null
34
35 # DO NOT DELETE