annotate utils/Makefile @ 8:ffd48df829a7

beginning of libnumdb: reading the binary file
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 13:07:33 -0800
parents 030143a95fb5
children 26b98505684e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
3 PROGS= themwi-dump-numdb themwi-update-numdb
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LIBUTIL=../libutil/libutil.a
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 INSTBIN=/usr/local/bin
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROGS}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
6
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
9 themwi-dump-numdb: themwi-dump-numdb.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
10 ${CC} ${CFLAGS} -o $@ $@.c
030143a95fb5 themwi-dump-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents: 4
diff changeset
11
4
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 themwi-update-numdb: themwi-update-numdb.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 ${CC} ${CFLAGS} -o $@ $@.o ${LIBUTIL}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 install:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 install -c -o bin -g bin -m 755 ${PROGS} ${INSTBIN}
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
4ad5deafaa87 themwi-update-numdb utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f *.o ${PROGS} errs