FreeCalypso > hg > freecalypso-tools
annotate rfcal/cmu200/Makefile @ 205:de8f75783b3b
Flash-boot-defect and Flash-boot-modes documentation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 02 May 2017 03:24:30 +0000 |
parents | 47d56330609d |
children |
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 |
196
47d56330609d
fc-cmu200d: skeleton complete, ready to start adding meat
Mychaela Falconia <falcon@freecalypso.org>
parents:
195
diff
changeset
|
6 CMU200D_OBJS= dispatch.o init.o main.o openport.o sercmd.o session.o socket.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} |