Fix uuid expansion
This commit is contained in:
parent
4a0dacbfa3
commit
a522fd233a
8
Makefile
8
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
|
||||
|
Loading…
Reference in New Issue
Block a user