annotate lunalcd/Makefile @ 66:09d26f19a2c2

lunalcd: ppmtocmd program written
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Mar 2020 01:38:57 +0000
parents cdf2c99e5025
children 286289d551ee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
66
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
3 PROGS= gen-st-init ppmtocmd
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 STINIT_OBJS= common.o initmain.o startek.o
66
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
6 PPMCONV_OBJS= common.o ppmtocmd.o
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROGS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 gen-st-init: ${STINIT_OBJS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${CC} -o $@ ${STINIT_OBJS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
66
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
13 ppmtocmd: ${PPMCONV_OBJS}
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
14 ${CC} -o $@ ${PPMCONV_OBJS}
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
15
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 clean:
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 rm -f ${PROGS} *.o