FreeCalypso > hg > freecalypso-tools
annotate rfcal/cmu200/Makefile @ 194:31d43f0e469a
fc-cmu200d skeleton started, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 24 Apr 2017 00:45:54 +0000 |
parents | 219ae678b955 |
children | db9ee7745cdd |
rev | line source |
---|---|
187
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
194
31d43f0e469a
fc-cmu200d skeleton started, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
187
diff
changeset
|
3 PROGS= fc-cmu200d fc-serscpi |
187
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
194
31d43f0e469a
fc-cmu200d skeleton started, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
187
diff
changeset
|
6 CMU200D_OBJS= init.o main.o openport.o sercmd.o |
187
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 SERSCPI_OBJS= openport.o sertool.o |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${PROGS} |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
194
31d43f0e469a
fc-cmu200d skeleton started, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
187
diff
changeset
|
11 fc-cmu200d: ${CMU200D_OBJS} |
31d43f0e469a
fc-cmu200d skeleton started, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
187
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ ${CMU200D_OBJS} |
31d43f0e469a
fc-cmu200d skeleton started, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
187
diff
changeset
|
13 |
187
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 fc-serscpi: ${SERSCPI_OBJS} |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ ${SERSCPI_OBJS} |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install: |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 mkdir -p ${INSTBIN} |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 install -c ${PROGS} ${INSTBIN} |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 clean: |
219ae678b955
fc-serscpi utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 rm -f *.o *.out *errs ${PROGS} |