annotate libutil/Makefile @ 157:f064dbcc5f41

libutil split from libcommon
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Feb 2021 20:19:58 +0000
parents libcommon/Makefile@d991944aa5f3
children 3698c8192d2d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
157
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
2 CFLAGS= -O2
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
3 OBJS= alpha_decode.o alpha_fromfile.o alpha_valid.o decimal_str.o \
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
4 filesearch.o gsm7_decode.o gsm7_encode.o gsm7_encode_table.o \
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
5 gsm7_unpack.o hexread.o hexstr.o number_decode.o number_encode.o \
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
6 pinentry.o plmncodes.o revnibbles.o
f064dbcc5f41 libutil split from libcommon
Mychaela Falconia <falcon@freecalypso.org>
parents: 132
diff changeset
7 LIB= libutil.a
0
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${LIB}
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${LIB}: ${OBJS}
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ar rcu $@ ${OBJS}
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ranlib $@
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean:
f7145c77b7fb starting libcommon: factored out of fc-simtool
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f *.[oa] errs