view lunalcd/Makefile @ 108:6f80cfdc7e05

fc-simtool: CHV commands implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Jan 2021 00:51:59 +0000
parents 1e6f05ede5ca
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
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
PPMCONV_OBJS=	common.o ppmtocmd.o

all:	${PROGS}

gen-ht-init:	${HTINIT_OBJS}
	${CC} -o $@ ${HTINIT_OBJS}

gen-st-init:	${STINIT_OBJS}
	${CC} -o $@ ${STINIT_OBJS}

ppmtocmd:	${PPMCONV_OBJS}
	${CC} -o $@ ${PPMCONV_OBJS}

ppmtoimg:	ppmtoimg.c
	${CC} ${CFLAGS} -o $@ $@.c

clean:
	rm -f ${PROGS} *.o