computing-offload/qtfs/test/scmright_test/makefile
Yikun Jiang a68570b5d9 Add computing offloading code
1. Add computing offloading code
2. Add script.md
3. Add virsh_demo.xml

Change-Id: Id9ef883e2f0eb727eb5448b9d1c47767f46b1021
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
2023-10-23 19:29:57 +08:00

15 lines
320 B
Makefile

.PHONY: all
all: libscm.so client server
client: libscm.so client.c
gcc client.c -L. -lscm -o client
server: libscm.so server.c
gcc server.c -L. -lscm -o server
libscm.so: scm_rights.c
gcc -fPIC --share scm_rights.c -o libscm.so
clean:
rm -f client server libscm.so *.o