view ee2232/Makefile @ 25:0a44549a64c8

lcdtest: implemented ILI9225G register init for HT020K1QC36S
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 May 2018 02:41:30 +0000
parents 02ea5dbdf84b
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	ee2232-gen ee2232-prog ee2232-read
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

ee2232-gen:	ee2232-gen.c
	${CC} ${CFLAGS} -o $@ $@.c

ee2232-prog:	ee2232-prog.c
	${CC} ${CFLAGS} -o $@ $@.c -lftdi

ee2232-read:	ee2232-read.c
	${CC} ${CFLAGS} -o $@ $@.c -lftdi

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

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