Also configure makefile variables in ecn plugin
SRC=$(wildcard *.c)
OBJ=$(SRC:.c=.o)
CFLAGS=-I../../picoquic -DDISABLE_PROTOOP_PRINTF
+CLANG?=clang-6.0
+LLC?=llc-6.0
+export CLANG LLC
all: $(SRC) $(OBJ)
$(OBJ): %.o
%.o: %.c
- clang-6.0 $(CFLAGS) -O2 -fno-gnu-inline-asm -emit-llvm -c $< -o - | llc-6.0 -march=bpf -filetype=obj -o $@
+ $(CLANG) $(CFLAGS) -O2 -fno-gnu-inline-asm -emit-llvm -c $< -o - | $(LLC) -march=bpf -filetype=obj -o $@
clean:
rm -rf *.o
