FreeCalypso > hg > ueda-linux
annotate miscutil/Makefile @ 151:b495db6e5081
SOT23-6.fp created
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 23 Jun 2021 01:50:17 +0000 |
parents | ffadaa339478 |
children |
rev | line source |
---|---|
144
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= protel-parts-condense |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 BINDIR= /usr/local/bin |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${PROGS} |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${PROGS}: |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 install: |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR} |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 clean: |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 rm -f *.[ao] a.out core errs ${PROGS} |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
ffadaa339478
protel-parts-condense misc utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 protel-parts-condense: protel-parts-condense.c |