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