view lcdtest/Makefile @ 28:de3d3cfcbb35

lcdtest: lcdphone program put together, compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 May 2018 22:26:58 +0000
parents 225556110fa6
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I/opt/freecalypso/include
PROGS=	lcdphone lcdtest

LCDPHONE_OBJS=	busops.o connect.o haoran.o interf.o memops.o phonemain.o \
		startek.o

LCDTEST_OBJS=	busops.o commands.o dispatch.o haoran.o readops.o showppm.o \
		startek.o testmain.o

all:	${PROGS}

lcdphone:	${LCDPHONE_OBJS}
	${CC} -o $@ ${LCDPHONE_OBJS} -lftdi

lcdtest:	${LCDTEST_OBJS}
	${CC} -o $@ ${LCDTEST_OBJS} -lftdi

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