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


      1# SPDX-License-Identifier: GPL-2.0-only
      2PREFIX ?= /usr
      3SBINDIR ?= sbin
      4INSTALL ?= install
      5CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
      6
      7TARGET = dell-smbios-example
      8
      9all: $(TARGET)
     10
     11%: %.c
     12	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
     13
     14clean:
     15	$(RM) $(TARGET)
     16
     17install: dell-smbios-example
     18	$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)