blob: f91bf14bbee7be927e92cff841b39cbcba278903 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# SPDX-License-Identifier: GPL-2.0
CLANG ?= clang
CCINCLUDE += -I../../bpf
CCINCLUDE += -I../../../../../usr/include/
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o
all: $(TEST_CUSTOM_PROGS)
$(OUTPUT)/%.o: %.c
$(CLANG) -O2 -target bpf -c $< $(CCINCLUDE) -o $@
clean:
rm -f $(TEST_CUSTOM_PROGS)
|