annotate netdiff/renpart/Makefile @ 141:fddb020e9b68

netdiff/Makefile added
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Sep 2020 05:13:35 +0000
parents 77acb816727b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= donl-rename-parts
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= main.o mainproc.o rename.o
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 BINDIR= /usr/local/bin
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG}
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${OBJS}
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${CC} ${CFLAGS} -o $@ ${OBJS}
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 install:
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 clean:
77acb816727b netdiff: donl-rename-parts put together
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 rm -f *.[ao] a.out core errs ${PROG}