FreeCalypso > hg > freecalypso-hwlab
diff lcdtest/Makefile @ 26:225556110fa6
lcdtest: beginning of reorg for adding lcdphone program
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 27 May 2018 21:36:07 +0000 |
parents | 0a44549a64c8 |
children | de3d3cfcbb35 |
line wrap: on
line diff
--- a/lcdtest/Makefile Fri May 25 02:41:30 2018 +0000 +++ b/lcdtest/Makefile Sun May 27 21:36:07 2018 +0000 @@ -1,13 +1,14 @@ CC= gcc CFLAGS= -O2 -PROG= lcdtest -OBJS= busops.o commands.o dispatch.o haoran.o main.o readops.o showppm.o \ - startek.o +PROGS= lcdtest + +LCDTEST_OBJS= busops.o commands.o dispatch.o haoran.o readops.o showppm.o \ + startek.o testmain.o -all: ${PROG} +all: ${PROGS} -${PROG}: ${OBJS} - ${CC} -o $@ ${OBJS} -lftdi +lcdtest: ${LCDTEST_OBJS} + ${CC} -o $@ ${LCDTEST_OBJS} -lftdi clean: - rm -f ${PROG} *.o *errs *.out + rm -f ${PROGS} *.o *errs *.out