view lcdtest/Makefile @ 73:749e1a14aa24

linux-patch: publishing currently used ftdi_sio driver patch
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jul 2020 05:12:44 +0000
parents de3d3cfcbb35
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