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 (963B)


      1# SPDX-License-Identifier: GPL-2.0
      2all:
      3
      4all: ring virtio_ring_0_9 virtio_ring_poll virtio_ring_inorder ptr_ring noring
      5
      6CFLAGS += -Wall
      7CFLAGS += -pthread -O2 -ggdb -flto -fwhole-program
      8LDFLAGS += -pthread -O2 -ggdb -flto -fwhole-program
      9
     10main.o: main.c main.h
     11ring.o: ring.c main.h
     12ptr_ring.o: ptr_ring.c main.h ../../../include/linux/ptr_ring.h
     13virtio_ring_0_9.o: virtio_ring_0_9.c main.h
     14virtio_ring_poll.o: virtio_ring_poll.c virtio_ring_0_9.c main.h
     15virtio_ring_inorder.o: virtio_ring_inorder.c virtio_ring_0_9.c main.h
     16ring: ring.o main.o
     17virtio_ring_0_9: virtio_ring_0_9.o main.o
     18virtio_ring_poll: virtio_ring_poll.o main.o
     19virtio_ring_inorder: virtio_ring_inorder.o main.o
     20ptr_ring: ptr_ring.o main.o
     21noring: noring.o main.o
     22clean:
     23	-rm main.o
     24	-rm ring.o ring
     25	-rm virtio_ring_0_9.o virtio_ring_0_9
     26	-rm virtio_ring_poll.o virtio_ring_poll
     27	-rm virtio_ring_inorder.o virtio_ring_inorder
     28	-rm ptr_ring.o ptr_ring
     29	-rm noring.o noring
     30
     31.PHONY: all clean