FreeCalypso > hg > themwi-ota-tools
annotate gen/Makefile @ 7:a33d4d8079d2
ota-set-msisdn utility written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 22 Feb 2021 01:00:39 +0000 |
parents | |
children | 2c022e0334c4 |
rev | line source |
---|---|
7
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= ota-set-msisdn |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIBS= ../libutil/libutil.a |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 INSTBIN=/opt/freecalypso/bin |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROGS} |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ota-set-msisdn: ota-set-msisdn.o ${LIBS} |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 install: |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 mkdir -p ${INSTBIN} |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 install -c ${PROGS} ${INSTBIN} |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 clean: |
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 rm -f ${PROGS} *.o |