FreeCalypso > hg > themwi-nanp
annotate utils/Makefile @ 15:a24f0794ab4d default tip
INSTALL: document the new way
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 00:29:21 +0000 |
parents | 78319ed870dc |
children |
rev | line source |
---|---|
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
1 CPPFLAGS=-I../build-inc |
9
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
2 PROGS= themwi-check-own themwi-dump-numdb themwi-short-dial themwi-update-numdb |
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 LIBNUMDB=../libnumdb/libnumdb.a |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIBUTIL=../libnumutil/libnumutil.a |
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
5 |
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
6 include ../config.defs |
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${PROGS} |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
7
dc1554b7dfb8
themwi-check-own compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
10 themwi-check-own: themwi-check-own.o ${LIBNUMDB} ${LIBUTIL} |
dc1554b7dfb8
themwi-check-own compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
11 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
dc1554b7dfb8
themwi-check-own compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
12 |
5
2729f94f38fb
themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
13 themwi-dump-numdb: themwi-dump-numdb.c |
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
14 ${CC} ${CFLAGS} ${CPPFLAGS} -o $@ $@.c |
5
2729f94f38fb
themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
15 |
9
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
16 themwi-short-dial: themwi-short-dial.o ${LIBNUMDB} ${LIBUTIL} |
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
17 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
18 |
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL} |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 ${CC} -o $@ $@.o ${LIBUTIL} |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
22 install: |
14
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
23 mkdir -p ${DESTDIR}${bindir} |
78319ed870dc
convert to new ThemWi configure and build system
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
24 install -c -m 755 ${PROGS} ${DESTDIR}${bindir} |
11
3d6cfb615d90
add make install hierarchy
Mychaela Falconia <falcon@freecalypso.org>
parents:
9
diff
changeset
|
25 |
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 clean: |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 rm -f *.o ${PROGS} errs |