a68570b5d9
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>
15 lines
320 B
Makefile
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
|