annotate libutil/Makefile @ 2:d5e9af482548

ota-smswrap-sjs1 program written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Feb 2021 22:21:29 +0000
parents b149db92cb0e
children 86b4f288862d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 OBJS= hexstdin.o hexstr.o
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LIB= libutil.a
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${LIB}
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ${LIB}: ${OBJS}
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ar rcu $@ ${OBJS}
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ranlib $@
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 clean:
b149db92cb0e libutil started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 rm -f *.[oa] errs