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