FreeCalypso > hg > ueda-linux
annotate netdiff/flip2pin/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 | 7ddfb9a67b0c |
children |
rev | line source |
---|---|
146
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= donl-flip2pin |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 OBJS= main.o mainproc.o readlist.o |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 BINDIR= /usr/local/bin |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROG} |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${PROG}: ${OBJS} |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ ${OBJS} |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 install: |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR} |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 clean: |
7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 rm -f *.[ao] a.out core errs ${PROG} |