comparison 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
comparison
equal deleted inserted replaced
68:72ff023ec6c9 69:1e6f05ede5ca
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gen-ht-init gen-st-init ppmtocmd 3 PROGS= gen-ht-init gen-st-init ppmtocmd ppmtoimg
4 4
5 HTINIT_OBJS= common.o initmain.o haoran.o 5 HTINIT_OBJS= common.o initmain.o haoran.o
6 STINIT_OBJS= common.o initmain.o startek.o 6 STINIT_OBJS= common.o initmain.o startek.o
7 PPMCONV_OBJS= common.o ppmtocmd.o 7 PPMCONV_OBJS= common.o ppmtocmd.o
8 8
15 ${CC} -o $@ ${STINIT_OBJS} 15 ${CC} -o $@ ${STINIT_OBJS}
16 16
17 ppmtocmd: ${PPMCONV_OBJS} 17 ppmtocmd: ${PPMCONV_OBJS}
18 ${CC} -o $@ ${PPMCONV_OBJS} 18 ${CC} -o $@ ${PPMCONV_OBJS}
19 19
20 ppmtoimg: ppmtoimg.c
21 ${CC} ${CFLAGS} -o $@ $@.c
22
20 clean: 23 clean:
21 rm -f ${PROGS} *.o 24 rm -f ${PROGS} *.o