FreeCalypso > hg > themwi-ota-tools
annotate Makefile @ 11:b4b4a822286c default tip
add INSTALL
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:06:04 +0000 |
parents | 2c022e0334c4 |
children |
rev | line source |
---|---|
7
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
1 PROGDIR=gen smswrap test |
5 | 2 LIBDIR= libutil |
3 SUBDIR= ${PROGDIR} ${LIBDIR} | |
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
4 DESTDIR= |
5 | 5 |
6 all: ${SUBDIR} | |
7 | |
7
a33d4d8079d2
ota-set-msisdn utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
8 gen: libutil |
5 | 9 smswrap: libutil |
10 test: libutil | |
11 | |
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
12 ${SUBDIR}: FRC config.defs |
5 | 13 cd $@; ${MAKE} ${MFLAGS} |
14 | |
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
15 config.defs: |
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
16 @echo 'You must run ./configure before make' |
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
17 @false |
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
18 |
5 | 19 clean: FRC |
20 rm -f a.out core errs | |
21 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
22 | |
23 install: FRC | |
10
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
24 for i in ${PROGDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
2c022e0334c4
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
25 DESTDIR=${DESTDIR} install); done |
5 | 26 |
27 FRC: |