mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 20:34:30 +00:00
18 lines
228 B
Makefile
18 lines
228 B
Makefile
# CROSS_COMPILE=aarch64-linux-gnu- make
|
|
#
|
|
CC=gcc
|
|
|
|
ifdef DEBUG
|
|
CFLAGS=-static -lc -g
|
|
else
|
|
CFLAGS=-static -lc -O2
|
|
endif
|
|
|
|
poller: poller.c
|
|
$(CROSS_COMPILE)$(CC) $(CFLAGS) poller.c -o poller
|
|
|
|
clean:
|
|
rm -rf poller
|
|
|
|
.PHONY: clean
|