root/rat/trunk/tests/Makefile @ 2190

Revision 2190, 1.4 KB (checked in by ucacoxh, 15 years ago)

- Timestamp incorporation.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2CC = gcc
3DEBUG=-fbounds-checking -g
4INCLUDE = -I.. -I../../common
5CFLAGS  =  -fbounds-checking -W -Wall -Wbad-function-cast -Wmissing-prototypes -Werror -g -fsigned-char  -DHAVE_PCA -DDEBUG -DFreeBSD -DSASR -DFAST -DUSE_FLOAT_MUL -DDEBUG_MEM
6LIBS = -L../../common -lm -lcommon -lcheck
7
8CODEC_OBJS = ../codec.o ../codec_state.o ../codec_adpcm.o ../codec_gsm.o \
9             ../codec_l16.o ../codec_g711.o ../codec_lpc.o ../codec_types.o \
10             ../codec_vdvi.o ../codec_wbs.o ../cx_dvi.o ../cx_gsm.o \
11             ../cx_lpc.o     ../cx_vdvi.o   ../cx_wbs.o
12
13CHANNEL_OBJS = ../cc_vanilla.o ../new_channel.o ../channel_types.o
14
15UTIL_OBJS = ../timers.o ../playout.o ../ts.o
16
173D_OBJS = test_3d.o ../render_3D.o
18
19test_3d: $(3D_OBJS) $(CODEC_OBJS)
20        $(CC) $(DEBUG)  -o $@  $(3D_OBJS) $(CODEC_OBJS) $(LIBS)
21
22native: native.o $(CODEC_OBJS)
23        $(CC) $(DEBUG)  -o $@  $(CODEC_OBJS) native.o $(LIBS)
24
25test_channel: $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) test_channel.o
26        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(CHANNEL_OBJS) $(UTIL_OBJS) \
27        $(LIBS) test_channel.o
28
29test_codecs: $(CODEC_OBJS) test_codecs.o
30        $(CC) $(DEBUG)  -o $@ $(CODEC_OBJS) $(LIBS) test_codecs.o
31
32test_ts: $(UTIL_OBJS) test_ts.o
33        $(CC) $(DEBUG)  -o $@ $(UTIL_OBJS) $(LIBS) test_ts.o
34
35.c.o:
36        $(CC) $(INCLUDE) $(CFLAGS) -c $< -o $@
37
38clean:
39        rm -rf $(CODEC_OBJS) $(3D_OBJS) test_3d test_codecs native \
40        test_channel *.o
41
Note: See TracBrowser for help on using the browser.