mirror of
https://github.com/andreas-abel/nanoBench.git
synced 2026-01-06 04:10:56 +01:00
Makefile
This commit is contained in:
@@ -75,9 +75,8 @@ The `asm-init` code is executed once in the beginning. It first sets RAX to R14-
|
||||
|
||||
We will get an output similar to the following.
|
||||
|
||||
Instructions retired: 1.00
|
||||
Core cycles: 4.00
|
||||
Reference cycles: 3.52
|
||||
CORE_CYCLES: 4.00
|
||||
INST_RETIRED: 1.00
|
||||
UOPS_ISSUED.ANY: 1.00
|
||||
UOPS_EXECUTED.THREAD: 1.00
|
||||
UOPS_DISPATCHED_PORT.PORT_0: 0.00
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
CC=gcc
|
||||
CFLAGS=-Wall -fPIC
|
||||
VPATH=../common/
|
||||
CFLAGS=-Wall
|
||||
|
||||
all: nanoBench
|
||||
nanoBench: nanoBench_main.o nanoBench.o
|
||||
nanoBench_main.o: nanoBench_main.c ../common/nanoBench.h
|
||||
nanoBench.o: ../common/nanoBench.c ../common/nanoBench.h
|
||||
$(CC) $(CFLAGS) -c ../common/nanoBench.c -o $@
|
||||
|
||||
clean:
|
||||
rm -f nanoBench *.o ../common/*.o
|
||||
rm -f nanoBench *.o
|
||||
|
||||
Reference in New Issue
Block a user