Blame src/components/host_micpower/utils/Makefile
|
Packit |
577717 |
CC = gcc
|
|
Packit |
577717 |
CFLAGS = -O2 -Wall
|
|
Packit |
577717 |
LFLAGS =
|
|
Packit |
577717 |
PAPI_INCLUDE = ../../..
|
|
Packit |
577717 |
PAPI_LIBRARY = ../../../libpapi.a
|
|
Packit |
577717 |
|
|
Packit |
577717 |
all: host_micpower_plot
|
|
Packit |
577717 |
|
|
Packit |
577717 |
host_micpower_plot: host_micpower_plot.o
|
|
Packit |
577717 |
$(CC) $(LFLAGS) -o host_micpower_plot host_micpower_plot.o $(PAPI_LIBRARY) -ldl -lpthread
|
|
Packit |
577717 |
|
|
Packit |
577717 |
host_micpower_plot.o: host_micpower_plot.c
|
|
Packit |
577717 |
$(CC) $(CFLAGS) -I$(PAPI_INCLUDE) -c host_micpower_plot.c
|
|
Packit |
577717 |
|
|
Packit |
577717 |
clean:
|
|
Packit |
577717 |
rm -f *~ *.o host_micpower_plot results.*
|