annotate netdiff/flip2pin/Makefile @ 150:bcf011f6d7a5

KWH020ST23-F01.fp created
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 22 Jun 2021 22:20:53 +0000
parents 7ddfb9a67b0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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}