FreeCalypso > hg > freecalypso-tools
annotate ffstools/newcomp/Makefile @ 364:ac311a48630e
fcup-smdump & fcup-smsend: send AT+CMEE=2 first
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 08 Mar 2018 00:20:42 +0000 |
parents | 7572c35a768a |
children | 90d7c360a614 |
rev | line source |
---|---|
318
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
320
7572c35a768a
compile-fc-chg tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
3 PROGS= compile-fc-batt compile-fc-chg |
318
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 compile-fc-batt: compile-fc-batt.c |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
320
7572c35a768a
compile-fc-chg tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
11 compile-fc-chg: compile-fc-chg.c |
7572c35a768a
compile-fc-chg tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c |
7572c35a768a
compile-fc-chg tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
318
diff
changeset
|
13 |
318
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 install: ${PROGS} |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 mkdir -p ${INSTBIN} |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 install -c ${PROGS} ${INSTBIN} |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 clean: |
182c3ae209f6
compile-fc-batt tool written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 rm -f ${PROGS} |