report-test 0.1.0

A simple interface to get a local SGX attestation (“report”). This is useful for testing remote attestation.
Documentation
TOOLS_DIR ?= ../../target/debug

all: report.sgxs

clean:
	rm -f main.o main.text.bin report.sgxs

main.o: main.S
	gcc -c $< -o $@

main.text.bin: main.o
	objcopy -O binary $< $@

report.sgxs: main.text.bin
	$(TOOLS_DIR)/sgxs-build rx=$< tcs=nssa:1 > $@