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