1# To build: 2# 3# CROSS_COMPILE=aarch64-linux-gnu- make 4# 5CROSS_COMPILE?=aarch64-linux-gnu- 6CC=$(CROSS_COMPILE)gcc 7CFLAGS=-static -lc 8 9readenergy: readenergy.c 10 $(CC) $(CFLAGS) readenergy.c -o readenergy 11 mv readenergy ../../devlib/bin/arm64/readenergy 12