This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Refactor for object source files variable in Makefile
Type: enhancement Stage: patch review
Components: Build Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ElianMariano
Priority: normal Keywords: patch

Created on 2020-08-28 18:58 by ElianMariano, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 21993 closed ElianMariano, 2020-08-28 19:57
Messages (1)
msg376045 - (view) Author: Elian Mariano Gabriel (ElianMariano) * Date: 2020-08-28 18:58
Refactoring in the Makefile is needed due a hard coded declaration to the 'OBJECT_OBJS' variable in the line 388.

This hard coded declaration can be replaced by a pattern substitution function which assigns the 'OBJECT_OBJS' variable in this much simpler way:

OBJECT_OBJS=$(patsubst %.c, %.o, $(wildcard Objects/*.c))

This assignment will facilitate the future builds because it is not need to add a new obj reference when created a new source code inside the 'Objects' folder.
History
Date User Action Args
2022-04-11 14:59:35adminsetgithub: 85823
2020-08-28 19:57:22ElianMarianosetkeywords: + patch
stage: patch review
pull_requests: + pull_request21099
2020-08-28 18:58:28ElianMarianocreate