diff --git a/.vscode/settings.json b/.vscode/settings.json index 712b88a..d41d68c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,8 @@ "files.associations": { "*.py": "python", "app.h": "c", - "time.h": "c" + "time.h": "c", + "math.h": "c" }, "C_Cpp.errorSquiggles": "enabled", "C_Cpp.default.includePath": [ diff --git a/Makefile b/Makefile index 3726eaf..07cfd60 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ all: $(TARGET) # 链接可执行文件 $(TARGET): $(OBJECTS) | $(DIST_DIR) - $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + $(CC) $^ $(LDFLAGS) $(LIBS) -o $@ # 编译源文件并生成依赖 $(BUILD_DIR)/%.o: $(SRC_DIR)/%.c | $(BUILD_DIR)