FreeCalypso > hg > sms-coding-utils
annotate Makefile @ 25:2a19b44c272e
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:59:17 +0000 |
parents | b014abaf0898 |
children | aae078d9eaa6 |
rev | line source |
---|---|
14
b014abaf0898
top Makefile: add scripts
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
1 PROGDIR=enc-text gen-pdu scripts |
3
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 LIBDIR= libcoding |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 SUBDIR= ${PROGDIR} ${LIBDIR} |
25
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
4 DESTDIR= |
3
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${SUBDIR} |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 enc-text: libcoding |
9
003660a57f99
new program sms-gen-tpdu
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
9 gen-pdu: libcoding |
3
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
25
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
11 ${SUBDIR}: FRC config.defs |
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
12 cd $@; ${MAKE} ${MFLAGS} |
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
13 |
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
14 config.defs: |
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
15 @echo 'You must run ./configure before make' |
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
16 @false |
3
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 clean: FRC |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 rm -f a.out core errs |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 install: FRC |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
25
2a19b44c272e
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
24 DESTDIR=${DESTDIR} install); done |
3
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
367dce9bf5a7
add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 FRC: |