diff 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
line wrap: on
line diff
--- a/lunalcd/Makefile	Fri May 01 03:18:08 2020 +0000
+++ b/lunalcd/Makefile	Thu May 07 00:12:54 2020 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	gen-ht-init gen-st-init ppmtocmd
+PROGS=	gen-ht-init gen-st-init ppmtocmd ppmtoimg
 
 HTINIT_OBJS=	common.o initmain.o haoran.o
 STINIT_OBJS=	common.o initmain.o startek.o
@@ -17,5 +17,8 @@
 ppmtocmd:	${PPMCONV_OBJS}
 	${CC} -o $@ ${PPMCONV_OBJS}
 
+ppmtoimg:	ppmtoimg.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
 clean:
 	rm -f ${PROGS} *.o