Mercurial > mplayer.hg
comparison libmpdemux/Makefile @ 2311:038038c7d7e9
i forgot this. -10l :(
author | arpi |
---|---|
date | Sat, 20 Oct 2001 19:04:56 +0000 |
parents | |
children | 0294cef61b74 |
comparison
equal
deleted
inserted
replaced
2310:9e059416eea6 | 2311:038038c7d7e9 |
---|---|
1 | |
2 LIBNAME = libmpdemux.a | |
3 | |
4 include ../config.mak | |
5 | |
6 SRCS = asfheader.c aviheader.c aviprint.c aviwrite.c demux_asf.c demux_avi.c demux_mov.c demux_mpg.c demuxer.c dvdauth.c open.c parse_es.c stream.c test.c | |
7 ifeq ($(STREAMING),yes) | |
8 SRCS += asf_streaming.c url.c http.c network.c | |
9 endif | |
10 | |
11 OBJS = $(SRCS:.c=.o) | |
12 INCLUDE = -I../loader $(EXTRA_INC) | |
13 CFLAGS = $(OPTFLAGS) $(INCLUDE) | |
14 | |
15 .SUFFIXES: .c .o | |
16 | |
17 # .PHONY: all clean | |
18 | |
19 all: $(LIBNAME) | |
20 | |
21 .c.o: | |
22 $(CC) -c $(CFLAGS) -o $@ $< | |
23 | |
24 $(LIBNAME): $(OBJS) | |
25 $(AR) r $(LIBNAME) $(OBJS) | |
26 | |
27 test: $(LIBNAME) test.c | |
28 $(CC) $(CFLAGS) test.c ../mp_msg.c -o test -L. -lmpdemux -ldvdread -lz -lpthread | |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: | |
34 rm -f test Makefile.bak *.o *.a *~ .depend | |
35 | |
36 dep: depend | |
37 | |
38 depend: | |
39 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend | |
40 | |
41 # | |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif |