mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 12:24:32 +00:00
12 lines
272 B
Makefile
12 lines
272 B
Makefile
# To build:
|
|
#
|
|
# CROSS_COMPILE=aarch64-linux-gnu- make
|
|
#
|
|
CROSS_COMPILE?=aarch64-linux-gnu-
|
|
CC=$(CROSS_COMPILE)gcc
|
|
CFLAGS='-Wl,-static -Wl,-lc'
|
|
|
|
readenergy: readenergy.c
|
|
$(CC) $(CFLAGS) readenergy.c -o readenergy
|
|
cp readenergy ../../instrumentation/juno_energy/readenergy
|