FreeCalypso > hg > freecalypso-hwlab
comparison 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 |
comparison
equal
deleted
inserted
replaced
27:4b7cac119fb5 | 28:de3d3cfcbb35 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 -I/opt/freecalypso/include |
3 PROGS= lcdtest | 3 PROGS= lcdphone lcdtest |
4 | |
5 LCDPHONE_OBJS= busops.o connect.o haoran.o interf.o memops.o phonemain.o \ | |
6 startek.o | |
4 | 7 |
5 LCDTEST_OBJS= busops.o commands.o dispatch.o haoran.o readops.o showppm.o \ | 8 LCDTEST_OBJS= busops.o commands.o dispatch.o haoran.o readops.o showppm.o \ |
6 startek.o testmain.o | 9 startek.o testmain.o |
7 | 10 |
8 all: ${PROGS} | 11 all: ${PROGS} |
9 | 12 |
13 lcdphone: ${LCDPHONE_OBJS} | |
14 ${CC} -o $@ ${LCDPHONE_OBJS} -lftdi | |
15 | |
10 lcdtest: ${LCDTEST_OBJS} | 16 lcdtest: ${LCDTEST_OBJS} |
11 ${CC} -o $@ ${LCDTEST_OBJS} -lftdi | 17 ${CC} -o $@ ${LCDTEST_OBJS} -lftdi |
12 | 18 |
13 clean: | 19 clean: |
14 rm -f ${PROGS} *.o *errs *.out | 20 rm -f ${PROGS} *.o *errs *.out |