annotate uptools/Makefile @ 470:1d5bd9a06781

rvinterf tree Makefiles: split CPPFLAGS from CFLAGS This change is in preparation for allowing CFLAGS to be overridden by users and package builders.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 12 Feb 2019 00:00:18 +0000
parents b0cb465290f7
children 8f3fe2d1fda5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
349
b0cb465290f7 uptools/Makefile: atcmd added
Mychaela Falconia <falcon@freecalypso.org>
parents: 342
diff changeset
1 PROGDIR=atcmd atinterf sms-pdu-decode
338
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 LIBDIR= libcoding
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 SUBDIR= ${PROGDIR} ${LIBDIR}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 all: ${SUBDIR}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
349
b0cb465290f7 uptools/Makefile: atcmd added
Mychaela Falconia <falcon@freecalypso.org>
parents: 342
diff changeset
7 atcmd: libcoding
338
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 sms-pdu-decode: libcoding
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${SUBDIR}: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 cd $@; ${MAKE} ${MFLAGS}
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 clean: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 rm -f a.out core errs
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 install: FRC
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
97a72ec0a6c1 uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 FRC: