view lunalcd/Makefile @ 111:5bfb5a7262c1

fc-simtool: pb-update command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Jan 2021 03:22:26 +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