annotate Makefile @ 1:dc0dd42ee8f2

original code compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jun 2024 23:48:01 +0000
parents
children aa7cc4333d95
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
dc0dd42ee8f2 original code compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2 -fno-builtin
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