FreeCalypso > hg > freecalypso-ui-dev
annotate lcdpoll/Makefile @ 3:06e900c54ae3
fc-lcdpoll program put together, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 14 Mar 2018 23:04:44 +0000 |
parents | |
children |
rev | line source |
---|---|
3
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I/opt/freecalypso/include |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-lcdpoll |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 OBJS= connect.o interf.o launchrvif.o main.o memops.o |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 INSTBIN=/opt/freecalypso/bin |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROG} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${PROG}: ${OBJS} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ ${OBJS} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 install: ${PROG} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 mkdir -p ${INSTBIN} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 install -c ${PROG} ${INSTBIN} |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 clean: |
06e900c54ae3
fc-lcdpoll program put together, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 rm -f *.o *.out *errs ${PROG} |