annotate fluid-mnf/Makefile @ 392:35009c936a4a

compal/melody-extr: first attempt at actual melody extraction
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 01 Apr 2022 06:03:47 +0000
parents bc5ddad215f2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
346
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= fluid-mnf
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OBJS= efluid.o fileio.o flash.o fluid.o lzdecode.o lzencode.o machine.o \
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 misc.o serial.o target.o trace.o
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG}
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${OBJS}
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${CC} -o $@ ${OBJS}
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
352
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
12 install:
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
13 mkdir -p /opt/freecalypso/bin
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
14 install -c ${PROG} /opt/freecalypso/bin
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
15 mkdir -p /opt/freecalypso/fluid
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
16 install -c -m 644 target-bin/* devices.txt /opt/freecalypso/fluid
bc5ddad215f2 fluid-mnf/Makefile: install added
Mychaela Falconia <falcon@freecalypso.org>
parents: 346
diff changeset
17
346
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 clean:
2aa78da4033b fluid-mnf: compiles and links
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 rm -f *.o ${PROG}