view lunalcd/Makefile @ 97:597c4e87a1f4

fc-simtool: imsi high-level read command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Jan 2021 22:16:33 +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