diff 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 diff
--- a/lcdtest/Makefile	Sun May 27 21:49:46 2018 +0000
+++ b/lcdtest/Makefile	Sun May 27 22:26:58 2018 +0000
@@ -1,12 +1,18 @@
 CC=	gcc
-CFLAGS=	-O2
-PROGS=	lcdtest
+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