view lunalcd/Makefile @ 106:66f04193a906

fc-simtool: pb-dump: forgot newline at the end of record
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 25 Jan 2021 06:03:58 +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