FreeCalypso > hg > ueda-linux
annotate miscutil/Makefile @ 144:ffadaa339478
protel-parts-condense misc utility written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Sep 2020 02:40:23 +0000 |
parents | |
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 |