From a522fd233a85722fe1aed378c9e6bd5438db8eb5 Mon Sep 17 00:00:00 2001 From: Samuel Aubertin Date: Sun, 23 Jan 2022 19:49:53 +0100 Subject: [PATCH] Fix uuid expansion --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 1243604..4e78fe7 100644 --- a/Makefile +++ b/Makefile @@ -20,15 +20,14 @@ LDFLAGS= -fuse-ld=lld CCS= clang gcc OPTIMIZATIONS= 0 1 2 3 RETPOLINE= mretpoline -UUID= $(shell uuid) +UUID:= $(shell uuid) RESULTS_FILE= results-$(UUID).log SSH_KEY= octoupload -TIMES= 1 +TIMES= 3 #FLAGS= -v ### Octopus internals -TEMP= $(shell mktemp) -TEE= | tee -a $(TEMP) +TEE= | tee -a $(RESULTS_FILE) ### Compilers CPROGS= $(foreach C, $(CCS), $(addsuffix -$(C), $(PROG))) @@ -93,7 +92,6 @@ build: $(PROGS) taskset 01 ./$$p $(FLAGS) $(TEE); \ done \ done - mv $(TEMP) $@ $(OPROGS): $(word 2, $(subst -, ,$@)) $(CFLAGS) $(LDFLAGS) -$(word 3, $(subst -, ,$@)) -o $@ $(PROG).c