FreeCalypso > hg > themwi-nanp
annotate utils/Makefile @ 10:05a94b08c8e1
add top Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 13 Dec 2023 03:56:16 +0000 |
parents | 0b4d54289ef3 |
children | 3d6cfb615d90 |
rev | line source |
---|---|
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I../build-inc |
9
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
3 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
|
4 LIBNUMDB=../libnumdb/libnumdb.a |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 LIBUTIL=../libnumutil/libnumutil.a |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROGS} |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
7
dc1554b7dfb8
themwi-check-own compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
9 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
|
10 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
dc1554b7dfb8
themwi-check-own compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
5
diff
changeset
|
11 |
5
2729f94f38fb
themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
12 themwi-dump-numdb: themwi-dump-numdb.c |
2729f94f38fb
themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ $@.c |
2729f94f38fb
themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
3
diff
changeset
|
14 |
9
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
15 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
|
16 ${CC} -o $@ $@.o ${LIBNUMDB} ${LIBUTIL} |
0b4d54289ef3
themwi-short-dial compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
17 |
3
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 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
|
19 ${CC} -o $@ $@.o ${LIBUTIL} |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 clean: |
5bf2648e5413
themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 rm -f *.o ${PROGS} errs |