view lunalcd/Makefile @ 95:5f826e428641

fc-simtool: readef command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jan 2021 20:47:00 +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