annotate utils/Makefile @ 5:2729f94f38fb

themwi-dump-numdb compiles in the new model
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 13 Dec 2023 02:53:27 +0000
parents 5bf2648e5413
children dc1554b7dfb8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
5
2729f94f38fb themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
3 PROGS= themwi-dump-numdb 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
5
2729f94f38fb themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
9 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
10 ${CC} ${CFLAGS} -o $@ $@.c
2729f94f38fb themwi-dump-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents: 3
diff changeset
11
3
5bf2648e5413 themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 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
13 ${CC} -o $@ $@.o ${LIBUTIL}
5bf2648e5413 themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
5bf2648e5413 themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean:
5bf2648e5413 themwi-update-numdb compiles in the new model
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f *.o ${PROGS} errs