blob: 84dca7174f30ff763b2decd12b53281579ccff3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
clean:
rm -rf bin/*
mkdir bin 2> /dev/null || true
sample_plugin:
clang plugin_example/plugin_example.c -shared -fPIC -o bin/plugin_example.so
client:
clang src/client.c -o bin/client -lsodium -lz -O3 -g
server:
clang src/server.c -o bin/server -lsodium -lz -O3 -g
release: clean
clang src/client.c -o bin/client -O3
clang src/server.c -o bin/server -O3
crun:
bin/client
srun: sample_plugin
bin/server plugin=bin/plugin_example.so log=debug
|