File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change 11# Define C/C++ compiler variables
22CXX := g++
3- <<<<<<< HEAD
4- ====== =
53AR := ar
6- >>>>>>> upstream/master
74
85# Define compiler flags
96OBJ_FLAG := -c
107FILE_FLAG := -o
11- <<<<<<< HEAD
12- ====== =
138STD_FLAG := -std=c++11
149
1510# Define archive flags
1611AR_FLAG := crv
1712AR_NAME := casbin.a
18- >>>>>>> upstream/master
1913
2014# Define directory variables
2115SRC_DIR := casbin
@@ -28,23 +22,13 @@ OBJ_EXT := o
2822LIB_EXT := a
2923INC_EXT := h
3024
31- <<<<<<< HEAD
32- ====== =
3325# Define make directory command variable
3426MKDIR_P := mkdir -p
3527
36- >>>>>>> upstream/master
3728# Get source cpp files
3829SRC_FILES := $(shell find $(SRC_DIR ) -type f -name * .$(SRC_EXT ) )
3930INC_DIRS := $(shell find $(SRC_DIR ) -type d)
4031INC_FLAG_DIRS := $(addprefix -I /, $(INC_DIRS ) )
41- <<<<<<< HEAD
42-
43- all :
44- $(foreach SRC_FILE, $(SRC_FILES ) ,\
45- $(CXX ) $(OBJ_FLAG ) $(FILE_FLAG ) $(SRC_FILE:$(SRC_DIR ) /%.$(SRC_EXT ) =$(OBJ_DIR ) /%.$(OBJ_EXT ) ) $(SRC_FILE ) ; \
46- )
47- ====== =
4832OBJ_DIRS := $(addprefix $(OBJ_DIR ) /, $(INC_DIRS ) )
4933
5034object :
@@ -65,4 +49,3 @@ library:
6549
6650clean :
6751 rm -r $(OBJ_DIR )
68- >>>>>>> upstream/master
You can’t perform that action at this time.
0 commit comments