Open matteodev8 opened 2 years ago
try to remove $(RES_FILES)
from the list of the files for the compiler:
diff --git a/linux/Makefile b/linux/Makefile
index 85345d7..400bdea 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -28,7 +28,7 @@ $(OUT_DIR):
$(NAME): $(OBJS)
- $(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(RES_FILES) $(LIBS)
+ $(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(LIBS)
$(OBJ_DIR)/%.o: %.cpp
$(CXX) $(FLAGS) -c $< -o $@
try to remove
$(RES_FILES)
from the list of the files for the compiler:diff --git a/linux/Makefile b/linux/Makefile index 85345d7..400bdea 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -28,7 +28,7 @@ $(OUT_DIR): $(NAME): $(OBJS) - $(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(RES_FILES) $(LIBS) + $(CXX) $(FLAGS) -o $(OUT_DIR)/$(NAME) $(OBJS) $(LIBS) $(OBJ_DIR)/%.o: %.cpp $(CXX) $(FLAGS) -c $< -o $@
I created a pull request with this already incorporated
Got an
After compiling on Linux.