FreeCalypso > hg > themwi-system-sw
annotate utils/Makefile @ 6:030143a95fb5
themwi-dump-numdb utility written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 26 Jun 2022 12:17:36 -0800 |
parents | 4ad5deafaa87 |
children | 26b98505684e |
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 |