Skip to content

Commit 051694d

Browse files
committed
Pedantic makefile fix
- Improved linking step description (creating -> linking) - Fixed using hardcoded "bin" instead of $(BIN_DIR)
1 parent 1e5a229 commit 051694d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(DEP_DIR)/%.d | $(DEP_DIR)
3535
@$(CXX) $< -o $@ -c $(LIB) $(PARAMETERS) $(OPT_LEVEL) $(DEP_FLAGS)
3636

3737
build: $(OBJ_FILES) | $(BIN_DIR)
38-
@echo Creating bin/$(APP_NAME)
38+
@echo Linking $(BIN_DIR)/$(APP_NAME)
3939
@$(CXX) -o $(BIN_DIR)/$(APP_NAME) $(OBJ_FILES) $(LIB) $(PARAMETERS) $(OPT_LEVEL)
4040

4141
clean:

0 commit comments

Comments
 (0)