annotate Makefile @ 33:a91fb88a57b2 default tip

add INSTALL document
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jun 2024 20:29:17 +0000
parents aae078d9eaa6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
aae078d9eaa6 immigrate sms-pdu-decode and pcm-sms-decode here
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
1 PROGDIR=decode 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
29
aae078d9eaa6 immigrate sms-pdu-decode and pcm-sms-decode here
Mychaela Falconia <falcon@freecalypso.org>
parents: 25
diff changeset
8 decode: libcoding
3
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 enc-text: libcoding
9
003660a57f99 new program sms-gen-tpdu
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
10 gen-pdu: libcoding
3
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
25
2a19b44c272e convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
12 ${SUBDIR}: FRC config.defs
2a19b44c272e convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
13 cd $@; ${MAKE} ${MFLAGS}
2a19b44c272e convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
14
2a19b44c272e convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
15 config.defs:
2a19b44c272e convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
16 @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
17 @false
3
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 clean: FRC
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 rm -f a.out core errs
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 install: FRC
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 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
25 DESTDIR=${DESTDIR} install); done
3
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
367dce9bf5a7 add top level Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 FRC: