summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
author[email protected] <[email protected]>2021-11-30 12:55:56 +0800
committer[email protected] <[email protected]>2021-11-30 12:55:56 +0800
commitc9c3fe7fbdc9f12648ae16a9ea50e886509c7238 (patch)
treeccb645bae903996df95c25916a631f9322ab48bc /src/Makefile
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..ee38172
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,21 @@
+CC=g++
+CCC=g++
+
+INC_PATH = -I./include
+CFLAGS = -Wall -g -fPIC $(INC_PATH)
+
+LIBS = -lMESA_prof_load -lMESA_handle_logger -ldocumentanalyze -lMESA_field_stat -lpthread
+
+OBJS = qq_file_global.o qq_file_entry.o
+
+TARGET = qq_file_trans.so
+
+$(TARGET):$(OBJS)
+ $(CCC) -fPIC -shared $^ -o $@ $(LIBS)
+ cp $@ /home/zhangcw/sapp/plug/business/qq_file_trans/
+
+.c.o:
+ $(CC) -c $(CFLAGS) $<
+
+clean:
+ rm -f $(TARGET) $(OBJS)