FreeCalypso > hg > ueda-linux
annotate miscutil/Makefile @ 154:2328205328a9 default tip
m4-fp: WR-FPC 1mm pitch FFC/FPC connectors
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Oct 2022 07:36:09 +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 |