Mercurial > mplayer.hg
comparison libmpcodecs/Makefile @ 4878:eff8a76e515f
libmpcodecs core - initial version
author | arpi |
---|---|
date | Thu, 28 Feb 2002 00:57:30 +0000 |
parents | |
children | c758cf9360d9 |
comparison
equal
deleted
inserted
replaced
4877:9d97874d8691 | 4878:eff8a76e515f |
---|---|
1 | |
2 include ../config.mak | |
3 | |
4 LIBNAME = libmpcodecs.a | |
5 | |
6 SRCS=vd.c vd_null.c | |
7 | |
8 OBJS=$(SRCS:.c=.o) | |
9 | |
10 CFLAGS = -Wall $(OPTFLAGS) -I. -I.. -I../libmpdemux -I../loader $(EXTRA_INC) | |
11 | |
12 .SUFFIXES: .c .o | |
13 | |
14 # .PHONY: all clean | |
15 | |
16 .c.o: | |
17 $(CC) -c $(CFLAGS) -o $@ $< | |
18 | |
19 $(LIBNAME): $(OBJS) | |
20 $(AR) r $(LIBNAME) $(OBJS) | |
21 | |
22 all: $(LIBNAME) | |
23 | |
24 clean: | |
25 rm -f *.o *.a *~ | |
26 | |
27 distclean: | |
28 rm -f Makefile.bak *.o *.a *~ .depend | |
29 | |
30 dep: depend | |
31 | |
32 depend: | |
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
34 | |
35 # | |
36 # include dependency files if they exist | |
37 # | |
38 ifneq ($(wildcard .depend),) | |
39 include .depend | |
40 endif | |
41 |