1 # Path where things should be installed
4 CFLAGS
= -I
$R/include/cava
-g
-O3
5 LIBS
= $R/lib
/libcava.a
-lrt
-lpthread
-lncurses
6 LDFLAGS
= -Wl
,-Ttext
=70000000
9 hdrs
:= caveat.h opcodes.h insn.h
12 hdrs
:= $(addprefix $R/include/cava
/,$(hdrs
))
15 erised
: erised.o
$(LIBS
)
16 $(CC
) $(CFLAGS
) -o
$@
$^
$(LDFLAGS
)
18 erised.o
: $(hdrs
) ..
/pipesim
/pipesim.h
25 rm -f erised
*.o
*~ .
/#*#