同步内网版本

This commit is contained in:
liuxueli
2018-11-15 17:10:05 +08:00
commit 075accef5f
9 changed files with 461 additions and 0 deletions

23
demo/Makefile Normal file
View File

@@ -0,0 +1,23 @@
vpath %.h ../inc
vpath %.a ../lib
CC=gcc
CFLAGS= -g3 -Wall -fPIC -O -Werror
CFLAGS+=-I../inc/
LIB=-L../lib/
LIB+=-lMESA_handle_logger -lpthread
LIB_FILE=$(wildcard ../lib/*.a)
SRC=test_handle_logger.c
TARGET=test_handle_logger
all:$(TARGET)
$(TARGET):$(SRC) $(LIB_FILE)
$(CC) $(CFLAGS) $(INC) $(LIBPATH) $< -static $(LIB) -o $@
clean :
rm -f $(TARGET)