FreeCalypso > hg > freecalypso-tools
annotate uptools/Makefile @ 338:97a72ec0a6c1
uptools/Makefile created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 04 Feb 2018 06:05:04 +0000 |
parents | |
children | c6165837d141 |
rev | line source |
---|---|
338
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 PROGDIR=sms-pdu-decode |
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 |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 sms-pdu-decode: libcoding |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${SUBDIR}: FRC |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 cd $@; ${MAKE} ${MFLAGS} |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: FRC |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f a.out core errs |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 install: FRC |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
97a72ec0a6c1
uptools/Makefile created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 FRC: |