annotate netdiff/flip2pin/Makefile @ 146:7ddfb9a67b0c

netdiff: donl-flip2pin utility written, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Nov 2020 03:32:48 +0000
parents
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}