annotate lunalcd/Makefile @ 69:1e6f05ede5ca

lunalcd: ppmtoimg utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 00:12:54 +0000
parents 286289d551ee
children
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
69
1e6f05ede5ca lunalcd: ppmtoimg utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 67
diff changeset
3 PROGS= gen-ht-init gen-st-init ppmtocmd ppmtoimg
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4
67
286289d551ee lunalcd: gen-ht-init added
Mychaela Falconia <falcon@freecalypso.org>
parents: 66
diff changeset
5 HTINIT_OBJS= common.o initmain.o haoran.o
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 STINIT_OBJS= common.o initmain.o startek.o
66
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
7 PPMCONV_OBJS= common.o ppmtocmd.o
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 all: ${PROGS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
67
286289d551ee lunalcd: gen-ht-init added
Mychaela Falconia <falcon@freecalypso.org>
parents: 66
diff changeset
11 gen-ht-init: ${HTINIT_OBJS}
286289d551ee lunalcd: gen-ht-init added
Mychaela Falconia <falcon@freecalypso.org>
parents: 66
diff changeset
12 ${CC} -o $@ ${HTINIT_OBJS}
286289d551ee lunalcd: gen-ht-init added
Mychaela Falconia <falcon@freecalypso.org>
parents: 66
diff changeset
13
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 gen-st-init: ${STINIT_OBJS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 ${CC} -o $@ ${STINIT_OBJS}
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
66
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
17 ppmtocmd: ${PPMCONV_OBJS}
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
18 ${CC} -o $@ ${PPMCONV_OBJS}
09d26f19a2c2 lunalcd: ppmtocmd program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 65
diff changeset
19
69
1e6f05ede5ca lunalcd: ppmtoimg utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 67
diff changeset
20 ppmtoimg: ppmtoimg.c
1e6f05ede5ca lunalcd: ppmtoimg utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 67
diff changeset
21 ${CC} ${CFLAGS} -o $@ $@.c
1e6f05ede5ca lunalcd: ppmtoimg utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 67
diff changeset
22
65
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 clean:
cdf2c99e5025 lunalcd project started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 rm -f ${PROGS} *.o