FreeCalypso > hg > freecalypso-ui-dev
annotate lcdpoll/Makefile @ 10:ad0d9f7c06e9 default tip
README: update for the present situation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 29 Dec 2019 23:01:26 +0000 |
parents | 06e900c54ae3 |
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} |