Fetch the repository succeeded.
This action will force synchronization from fens/基于boost的消息处理框架, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
BIN_DIR=.
OBJ_DIR=.
SRC_DIR=.
LIB_DIR=.
INC_DIR=.
SRCS=$(wildcard $(SRC_DIR)/*.cpp )
OBJS+=$(patsubst $(SRC_DIR)/%.cpp,$(OBJ_DIR)/%.o,$(SRCS))
TARGET=test
INSTALL_PATH ?= .
ARCH ?=
CC=$(ARCH)gcc
CPP=$(ARCH)g++
AR=$(ARCH)ar
STRIP=$(ARCH)strip
CFLAGS += -Wall -O2 -fno-strict-aliasing -finline-functions
LDFLAGS += -lpthread
CFLAGS += $(foreach dir,$(INC_DIR),-I$(dir))
all:$(TARGET)
$(TARGET): $(OBJS)
$(CPP) $(OBJS) -o $@ $(CFLAGS) $(LDFLAGS)
$(STRIP) $(TARGET)
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp
$(CPP) $(CFLAGS) -c $< -o $@
clean:
-rm $(OBJS)
-rm $(TARGET)
#@echo $(OBJS)
Sign in for post a comment
Comment ( 0 )