annotate libmpdemux/Makefile @ 18516:9f1055791225

document more codecs supported by vfw interface. Patch by compn < tempn A twmi P rr P com >, with a small modification by me.
author gpoirier
date Mon, 15 May 2006 11:30:43 +0000
parents e3379df74bcd
children 42001f5086d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
1
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
2 LIBNAME = libmpdemux.a
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
3
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
4 include ../config.mak
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
5
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
6 # Headers and header-dumpers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
7 SRCS = mp3_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
8 mpeg_hdr.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
9 asfheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
10 aviheader.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
11 aviprint.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
12
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
13 # Core
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
14 SRCS += cache2.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
15 extension.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
16 mf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
17 open.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
18 url.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
19 video.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
20
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
21 # Miscellaneous
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
22 SRCS += cdda.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
23 cddb.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
24 cdinfo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
25 cue_read.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
26 dvdnav_stream.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
27 parse_es.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
28 parse_mp4.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
29 yuv4mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
30 yuv4mpeg_ratio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
31
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
32 # Stream readers/writers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
33 SRCS += stream.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
34 stream_file.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
35 stream_ftp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
36 stream_livedotcom.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
37 stream_netstream.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
38 stream_null.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
39 stream_smb.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
40 stream_vcd.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
41 stream_vstream.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
42
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
43 # TV in
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
44 SRCS += tv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
45 frequencies.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
46 tvi_bsdbt848.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
47 tvi_dummy.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
48 tvi_v4l2.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
49 tvi_v4l.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
50
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
51 # Audio in
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
52 SRCS += audio_in.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
53 ai_alsa1x.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
54 ai_alsa.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
55 ai_oss.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
56
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
57 # Demuxers
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
58 SRCS += demuxer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
59 demux_aac.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
60 demux_asf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
61 demux_audio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
62 demux_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
63 demux_demuxers.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
64 demux_film.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
65 demux_fli.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
66 demux_gif.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
67 demux_lmlm4.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
68 demux_mf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
69 demux_mov.c \
15958
087142ef3a2d musepack demuxing and decoding support (demuxing is v7 bitstream only).
reimar
parents: 15772
diff changeset
70 demux_mpc.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
71 demux_mpg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
72 demux_nsv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
73 demux_nuv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
74 demux_ogg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
75 demux_pva.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
76 demux_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
77 demux_rawdv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
78 demux_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
79 demux_realaud.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
80 demux_real.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
81 demux_roq.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
82 demux_smjpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
83 demux_ts.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
84 demux_ty.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
85 demux_ty_osd.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
86 demux_viv.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
87 demux_vqf.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
88 demux_y4m.c \
18404
e3379df74bcd Unconditionally compile the Matroska demuxer.
diego
parents: 18137
diff changeset
89 demux_mkv.c ebml.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
90
17191
6ac0b5f0d1ed fix compilation when dvdkit and dvdread are not available
nicodvb
parents: 16572
diff changeset
91 ifeq ($(HAVE_DVD),yes)
6ac0b5f0d1ed fix compilation when dvdkit and dvdread are not available
nicodvb
parents: 16572
diff changeset
92 SRCS += stream_dvd.c
6ac0b5f0d1ed fix compilation when dvdkit and dvdread are not available
nicodvb
parents: 16572
diff changeset
93 endif
8528
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
94 ifeq ($(XMMS_PLUGINS),yes)
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
95 SRCS += demux_xmms.c
9d143176d95f XMMS Input plugin support
arpi
parents: 7874
diff changeset
96 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
97 ifneq ($(W32_LIB),)
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
98 SRCS += demux_avs.c
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
99 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
100
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
101 # Muxers
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
102 MUXERS = muxer.c \
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
103 muxer_avi.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
104 muxer_mpeg.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
105 muxer_rawaudio.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
106 muxer_rawvideo.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
107
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
108 LIBAV_INC =
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
109 ifeq ($(CONFIG_LIBAVUTIL),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
110 LIBAV_INC += -I../libavutil
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
111 endif
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
112 ifeq ($(CONFIG_LIBAVCODEC),yes)
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
113 LIBAV_INC += -I../libavcodec
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
114 endif
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
115 ifeq ($(CONFIG_LIBAVFORMAT),yes)
16165
a9f7eff9e437 Support new static libavcodec (depends on libavutil).
al
parents: 15958
diff changeset
116 LIBAV_INC += -I../libavformat
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
117 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
118 MUXERS += muxer_lavf.c
17354
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
119 endif
60189cd9bbc8 added support for external libavformat
nicodvb
parents: 17191
diff changeset
120 ifeq ($(CONFIG_LIBAVFORMAT_SO),yes)
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
121 SRCS += demux_lavf.c
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
122 MUXERS += muxer_lavf.c
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
123 endif
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
124
10121
d42177a0da2a Changed the STREAMING defines to MPLAYER_NETWORK to avoid name definition clash.
bertrand
parents: 10057
diff changeset
125 ifeq ($(MPLAYER_NETWORK),yes)
15772
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
126 SRCS += asf_streaming.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
127 http.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
128 network.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
129 cookies.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
130 asf_mmst_streaming.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
131 pnm.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
132 rtp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
133
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
134 SRCS += realrtsp/asmrp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
135 realrtsp/real.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
136 realrtsp/rmff.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
137 realrtsp/rtsp.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
138 realrtsp/rtsp_session.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
139 realrtsp/sdpplin.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
140 realrtsp/xbuffer.c \
d3d30585a9d2 Be more patch-friendly
ranma
parents: 15754
diff changeset
141
16572
56a5f69e9b35 "LIVE.COM Streaming Media" is now called "LIVE555 Streaming Media".
rsf
parents: 16165
diff changeset
142 ifeq ($(STREAMING_LIVE555),yes)
9250
bb490ffeebf5 Restruct by Ross Finlayson <finlayson@live.com>
bertrand
parents: 9129
diff changeset
143 CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp
13997
63023fad13a0 support for debianized LIVE.COM library
henry
parents: 13787
diff changeset
144 CPLUSPLUSINCLUDE = $(LIVE_INCLUDES)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
145 endif
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
146 endif
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
147
9610
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
148 ifeq ($(DVBIN),yes)
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
149 SRCS += dvbin.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
150 SRCS += dvb_tune.c
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
151 endif
76c6d8f1ebf5 this is a combo patch that:
arpi
parents: 9250
diff changeset
152
17538
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
153 ifeq ($(MENCODER),yes)
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
154 SRCS += $(MUXERS)
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
155 endif
bb1ab9250f05 Build muxers only when MEncoder is enabled.
diego
parents: 17488
diff changeset
156
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
157 OBJS = $(SRCS:.c=.o)
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
158 OBJS += $(CPLUSPLUSSRCS:.cpp=.o)
13787
e047e70a9767 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
diego
parents: 12958
diff changeset
159 INCLUDE = -I.. -I../loader $(CSS_INC) $(EXTRA_INC) $(LIBAV_INC)
10651
efb6dcac967d --dvbincdir support by Gotz Waschk <waschk@informatik.uni-rostock.de>
alex
parents: 10634
diff changeset
160 CFLAGS = $(OPTFLAGS) $(INCLUDE) $(XMMS_CFLAGS) $(CDPARANOIA_INC) $(DVB_INC)
18137
75b56435f053 Make the RTP demuxer work with libdvdread 0.9.5.
diego
parents: 17943
diff changeset
161 CPLUSPLUSFLAGS = $(CFLAGS) $(CPLUSPLUSINCLUDE) -D__STDC_LIMIT_MACROS
7168
cb1428dd4d79 assume $(CC) can compile c++ - fixes compile with non-default compiler
arpi
parents: 7148
diff changeset
162 CPLUSPLUS = $(CC)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
163
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
164 .SUFFIXES: .c .cpp .o
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
165
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
166 # .PHONY: all clean
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
167
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
168 all: $(LIBNAME)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
169
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
170 .c.o:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
171 $(CC) -c $(CFLAGS) -o $@ $<
6910
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
172 .cpp.o:
1a747aee653b applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
arpi
parents: 6474
diff changeset
173 $(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
174
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
175 $(LIBNAME): $(OBJS)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
176 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12175
diff changeset
177 $(RANLIB) $(LIBNAME)
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
178
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
179 test: $(LIBNAME) test.c
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
180 $(CC) $(CFLAGS) test.c ../mp_msg.c ../osdep/shmem.c -o test \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
181 ./libmpdemux.a ../libmpdvdkit2/libmpdvdkit.a ../libvo/aclib.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
182 ../libmpcodecs/img_format.o ../libao2/afmt.o ../sub_cc.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
183 ../m_option.o ../subreader.o \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17538
diff changeset
184 $(ALSA_LIB) $(VORBIS_LIB) $(CDPARANOIA_LIB) -lz -lpthread
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
185
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
186 clean:
10057
d1f55b76ef2c Made sure to clean out the "realrtsp" subdirectory when doing a "make clean"
rsf
parents: 10033
diff changeset
187 rm -f *.o *.a *~ realrtsp/*.o realrtsp/*.a realrtsp/*~
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
188
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17354
diff changeset
189 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17354
diff changeset
190 rm -f .depend test
2311
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
191
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
192 dep: depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
193
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
194 depend:
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
195 $(CC) -MM $(CFLAGS) test.c $(SRCS) 1>.depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
196
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
197 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
198 # include dependency files if they exist
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
199 #
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
200 ifneq ($(wildcard .depend),)
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
201 include .depend
038038c7d7e9 i forgot this. -10l :(
arpi
parents:
diff changeset
202 endif