cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

Makefile (329B)


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