xref: /openbmc/linux/samples/nitro_enclaves/Makefile (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1*acc4229cSAndra Paraschiv# SPDX-License-Identifier: GPL-2.0
2*acc4229cSAndra Paraschiv#
3*acc4229cSAndra Paraschiv# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4*acc4229cSAndra Paraschiv
5*acc4229cSAndra Paraschiv# Enclave lifetime management support for Nitro Enclaves (NE) - ioctl sample
6*acc4229cSAndra Paraschiv# usage.
7*acc4229cSAndra Paraschiv
8*acc4229cSAndra Paraschiv.PHONY: all clean
9*acc4229cSAndra Paraschiv
10*acc4229cSAndra ParaschivCFLAGS += -Wall
11*acc4229cSAndra Paraschiv
12*acc4229cSAndra Paraschivall:
13*acc4229cSAndra Paraschiv	$(CC) $(CFLAGS) -o ne_ioctl_sample ne_ioctl_sample.c -lpthread
14*acc4229cSAndra Paraschiv
15*acc4229cSAndra Paraschivclean:
16*acc4229cSAndra Paraschiv	rm -f ne_ioctl_sample
17