Commit cba3d278 authored by p's avatar p

Modified Makefile

parent 41aebdb6
...@@ -2,10 +2,8 @@ SRCS := $(shell ls src/) ...@@ -2,10 +2,8 @@ SRCS := $(shell ls src/)
SRC_DIR := src SRC_DIR := src
OBJS := $(SRCS:.cpp=.o) OBJS := $(SRCS:.cpp=.o)
BUILD_DIR := .build BUILD_DIR := .build
HEADERS := $(shell find -name '*.hpp')
OBJS := $(addprefix $(BUILD_DIR)/, $(OBJS)) OBJS := $(addprefix $(BUILD_DIR)/, $(OBJS))
CXX = g++ CXX = g++
CXXFLAGS += -O3 -Wall -std=c++17 -I header CXXFLAGS += -O3 -Wall -std=c++17 -I header
CXXFLAGS += -g CXXFLAGS += -g
...@@ -14,8 +12,6 @@ LIBS += -lrdmacm ...@@ -14,8 +12,6 @@ LIBS += -lrdmacm
LIBS += -pthread LIBS += -pthread
LIBS += -lrocksdb LIBS += -lrocksdb
Target := server Target := server
.phony = clean .phony = clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment