comparison intercom/gsm/makefile.tcc @ 2:13be24d74cd2

import intercom-0.4.1
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:57:52 +0200
parents
children
comparison
equal deleted inserted replaced
1:9cadc470e3da 2:13be24d74cd2
1 #--------------------------------------------------------------------------
2 # RPELTP makefile for MSDOS Borland [bt]cc
3 #--------------------------------------------------------------------------
4 # Original Copyright message:
5 # Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
6 # Universitaet Berlin. See the accompanying file "COPYRIGHT" for
7 # details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
8 #
9 # File adapted by simao@ctd.comsat.com for the UGST distribution.
10 #--------------------------------------------------------------------------
11
12 ######### MUST Define USE_FLOAT_MUL for bit exact performance to GSM Spec.
13 CC = tcc -mm -DSASR;USE_FLOAT_MUL;NeedFunctionPrototypes
14 INC = -I../utl;..\g711;d:\tc\include
15 LIB = -Ld:\tc\lib
16
17 #--------------------------------------------------------------------------
18 # Tools
19 #--------------------------------------------------------------------------
20 RM=rm -f
21
22 #--------------------------------------------------------------------------
23 # Targets
24 #--------------------------------------------------------------------------
25 EXE_dependencies = \
26 add.obj \
27 code.obj \
28 debug.obj \
29 decode.obj \
30 gsm_crea.obj \
31 gsm_deco.obj \
32 gsm_dest.obj \
33 gsm_enco.obj \
34 gsm_expl.obj \
35 gsm_impl.obj \
36 gsm_opti.obj \
37 gsm_prin.obj \
38 long_ter.obj \
39 lpc.obj \
40 preproce.obj \
41 rpe.obj \
42 rpeltp.obj \
43 rpedemo.obj \
44 short_te.obj \
45 table.obj \
46 g711.obj
47
48 # ------------------------------------------------
49 # Implicit rules
50 # ------------------------------------------------
51 .c.obj:
52 $(CC) -c {$< }
53
54 # ------------------------------------------------
55 # Specific rules
56 # ------------------------------------------------
57 anyway: clean rpedemo.exe
58
59 clean:
60 $(RM) *.obj
61
62 cleantest:
63 echo No test file processing available in this directory
64
65 veryclean: clean
66 $(RM) rpedemo.exe
67
68 # ------------------------------------------------
69 # Specific rules
70 # ------------------------------------------------
71 rpedemo: rpedemo.exe
72 rpedemo.exe: rpedemo.cfg $(EXE_dependencies)
73 $(CC) $(CC_OPT) -erpedemo @rpedemo.cfg
74
75 add.obj: add.c
76 code.obj: code.c
77 debug.obj: debug.c
78 decode.obj: decode.c
79 gsm_crea.obj: gsm_crea.c
80 gsm_deco.obj: gsm_deco.c
81 gsm_dest.obj: gsm_dest.c
82 gsm_enco.obj: gsm_enco.c
83 gsm_expl.obj: gsm_expl.c
84 gsm_impl.obj: gsm_impl.c
85 gsm_opti.obj: gsm_opti.c
86 gsm_prin.obj: gsm_prin.c
87 long_ter.obj: long_ter.c
88 lpc.obj: lpc.c
89 preproce.obj: preproce.c
90 rpe.obj: rpe.c
91 rpeltp.obj: rpeltp.c
92 rpedemo.obj: rpedemo.c
93 $(CC) -c -I../g711 rpedemo.c
94 short_te.obj: short_te.c
95 table.obj: table.c
96 g711.obj: ../g711/g711.c
97 $(CC) -c -I../g711 ../g711/g711.c
98
99 # ------------------------------------------------
100 # Borland make-specific
101 # ------------------------------------------------
102 rpedemo.cfg: makefile.tcc
103 copy &&|
104 -ff-
105 -f287
106 -mm
107 -DSASR;USE_FLOAT_MUL;NeedFunctionPrototypes
108 -P-.C
109 $(INC)
110 $(LIB)
111 $(EXE_dependencies)
112 | rpedemo.cfg

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.