summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author崔一鸣 <[email protected]>2018-08-12 20:05:02 +0800
committer崔一鸣 <[email protected]>2018-08-13 09:47:36 +0800
commit8b9360155b2637999211bb704540d83a3342af50 (patch)
treee7e01613e88e2bf25240ba1003f6f32b949afed0
parenteb64e2d346da49d88e80242a3c93875006116e77 (diff)
update .gitignore
-rw-r--r--.gitignore1
-rw-r--r--Makefile3
-rw-r--r--README.md6
-rwxr-xr-xlib/libMESA_handle_logger.sobin0 -> 3206888 bytes
-rw-r--r--src/Makefile3
5 files changed, 5 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c52053f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+*.swap
diff --git a/Makefile b/Makefile
index 093cbb5..31d23fb 100644
--- a/Makefile
+++ b/Makefile
@@ -5,15 +5,12 @@
all:
cd src && $(MAKE)
- cd sample && $(MAKE)
install:
cd src && $(MAKE) install
- cd sample && $(MAKE) install
clean:
cd src && $(MAKE) clean
- cd sample && $(MAKE) clean
opt:
$(MAKE) all
diff --git a/README.md b/README.md
index f16ae36..fbae56e 100644
--- a/README.md
+++ b/README.md
@@ -10,10 +10,8 @@ MESA_handle_logger_new是基于开源C++日志库[easylogging++](https://github.
```bash
git clone https://git.mesalab.cn/leo/MESA_handle_logger_new
cd MESA_handle_logger_new
- //install到MESA_handle_logger_new/lib/下
- make && make install
- //指定运行时链接的日志库为新的.so的目录
- export LD_LIBRARY_PATH="xxxx"
+ make && make install #install到lib/下
+ export LD_LIBRARY_PATH="xxxx" #指定运行时链接的日志库为新的.so的目录
```
#### 对外接口
* 获取日志句柄
diff --git a/lib/libMESA_handle_logger.so b/lib/libMESA_handle_logger.so
new file mode 100755
index 0000000..3e63b92
--- /dev/null
+++ b/lib/libMESA_handle_logger.so
Binary files differ
diff --git a/src/Makefile b/src/Makefile
index b14affe..8ab61cb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -22,6 +22,7 @@ clean :
-rm $(TARGET) $(OBJECTS) $(DEPS)
-rm -f $(TARGET_DIR)/*
-install :
+install :
+ mkdir $(TARGET_DIR)
-cp $(TARGET) $(TARGET_DIR)
-rm $(TARGET) $(OBJECTS) $(DEPS)