diff --git a/casbin/casbin.vcxproj b/casbin/casbin.vcxproj
index f11f7cf8..6df54a2e 100644
--- a/casbin/casbin.vcxproj
+++ b/casbin/casbin.vcxproj
@@ -166,7 +166,7 @@
-
+
@@ -241,8 +241,8 @@
-
-
+
+
diff --git a/casbin/casbin.vcxproj.filters b/casbin/casbin.vcxproj.filters
index 88a6a79d..997ddf31 100644
--- a/casbin/casbin.vcxproj.filters
+++ b/casbin/casbin.vcxproj.filters
@@ -67,7 +67,7 @@
{deb02d53-9580-4fb9-b666-6b3a2713d286}
-
+
{c1a83ec0-b3e2-4b46-9755-6e20d8f26356}
@@ -243,9 +243,6 @@
Source Files
-
- Source Files\ip_parser\exceptions
-
Source Files\ip_parser\parser
@@ -255,6 +252,9 @@
Source Files
+
+ Source Files\ip_parser\exception
+
@@ -347,10 +347,7 @@
Header Files\exception
-
- Header Files\ip_parser\exception
-
-
+
Header Files\ip_parser\exception
@@ -470,6 +467,9 @@
Header Files
+
+ Header Files\ip_parser\exception
+
diff --git a/casbin/ip_parser/exception/parserException.cpp b/casbin/ip_parser/exception/parser_exception.cpp
similarity index 80%
rename from casbin/ip_parser/exception/parserException.cpp
rename to casbin/ip_parser/exception/parser_exception.cpp
index 032233f7..9e97edf9 100644
--- a/casbin/ip_parser/exception/parserException.cpp
+++ b/casbin/ip_parser/exception/parser_exception.cpp
@@ -2,7 +2,7 @@
#include "pch.h"
-#include "./parserException.h"
+#include "./parser_exception.h"
ParserException :: ParserException(string error_message){
this->error_message = error_message;
diff --git a/casbin/ip_parser/exception/parserException.h b/casbin/ip_parser/exception/parser_exception.h
similarity index 100%
rename from casbin/ip_parser/exception/parserException.h
rename to casbin/ip_parser/exception/parser_exception.h
diff --git a/casbin/ip_parser/parser/parseCIDR.h b/casbin/ip_parser/parser/parseCIDR.h
index 4fef1701..0e33995a 100644
--- a/casbin/ip_parser/parser/parseCIDR.h
+++ b/casbin/ip_parser/parser/parseCIDR.h
@@ -11,7 +11,7 @@
#include "./parseIPv4.h"
#include "./parseIPv6.h"
#include "./CIDRMask.h"
-#include "../exception/parserException.h"
+#include "../exception/parser_exception.h"
CIDR parseCIDR(string s);
diff --git a/casbin/log/DefaultLogger.h b/casbin/log/default_logger.h
similarity index 100%
rename from casbin/log/DefaultLogger.h
rename to casbin/log/default_logger.h
diff --git a/casbin/log/LogUtil.h b/casbin/log/log_util.h
similarity index 100%
rename from casbin/log/LogUtil.h
rename to casbin/log/log_util.h
diff --git a/makefile b/makefile
index 4f711d3a..6e84b92e 100644
--- a/makefile
+++ b/makefile
@@ -6,6 +6,7 @@ AR := ar
OBJ_FLAG := -c
FILE_FLAG := -o
STD_FLAG := -std=c++11
+DIS_WARN := -w
# Define archive flags
AR_FLAG := crv
@@ -33,6 +34,16 @@ OBJ_DIRS := $(addprefix $(OBJ_DIR)/, $(INC_DIRS))
.PHONY: object
object:
+ $(foreach OBJ_DIR, $(OBJ_DIRS),\
+ $(MKDIR_P) $(OBJ_DIR);\
+ )
+ $(foreach SRC_FILE, $(SRC_FILES),\
+ set -e;\
+ $(CXX) $(DIS_WARN) $(STD_FLAG) $(OBJ_FLAG) $(FILE_FLAG) $(SRC_FILE:$(SRC_DIR)/%.$(SRC_EXT)=$(OBJ_DIR)/$(SRC_DIR)/%.$(OBJ_EXT)) $(SRC_FILE);\
+ )
+
+.PHONY: debug
+debug:
$(foreach OBJ_DIR, $(OBJ_DIRS),\
$(MKDIR_P) $(OBJ_DIR);\
)