diff options
| author | lijia <[email protected]> | 2021-09-14 15:50:53 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2021-09-14 15:50:53 +0800 |
| commit | f6f399f69a950ab1c45ea0e8c0787a476ff58754 (patch) | |
| tree | 3cca11bd40a8209a534855a53525ea83763620b0 /src/Makefile | |
create new project.v1.0.0
除sapp和插件之外, 其他模块也经常有从某个层跳转到某个层的需求,
从sapp中剥离此部分代码, 独立成为一个公共库.
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..38a95cc --- /dev/null +++ b/src/Makefile @@ -0,0 +1,10 @@ +INC=-I../inc -I/opt/MESA/include -I/opt/MESA/include/MESA -I/opt/MESA/include/MESA/stream_inc +CFLAGS=-g -Wall + +all:libMESA_jump_layer.so + +libMESA_jump_layer.so:MESA_jump_layer.o + g++ -o $@ $^ -fPIC -shared + +MESA_jump_layer.o:MESA_jump_layer.cpp + g++ -c -fPIC -o $@ $^ $(INC) $(CFLAGS) |
