annotate Makefile @ 5:59fc7fc126d0

mv utils.c reid.c In the original GSM 06.06 code drop, reid.c resides in the "utilities" collection (Dir_UTIL.zip), but there is also a copy of reid.c named utils.c in the "C" collection (Dir_C.zip), even though it is never compiled or linked as such. When I originally created the present Hg repository, I did not intend to include REID, only the main body of the codec - but I overlooked that utils.c copy, so it got imported. In the present time, however, it has become useful to have REID code in Hg for easier public study and discussion - so let's have it under its proper name.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 22 Jul 2024 18:43:12 +0000
parents a6db7d8d6df4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
3
a6db7d8d6df4 change compile-time quiet control to runtime,
Mychaela Falconia <falcon@freecalypso.org>
parents: 2
diff changeset
2 CFLAGS= -O2 -fno-builtin
1
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= gsm_hr
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= dtx.o err_conc.o globdefs.o gsm_hr.o homing.o host.o mathdp31.o \
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 mathhalf.o sp_dec.o sp_enc.o sp_frm.o sp_rom.o sp_sfrm.o vad.o
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG}
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${OBJS}
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${CC} -o $@ ${OBJS}
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean:
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f *.o *.out ${PROG} errs