[New-bugs-announce] [issue41657] Refactor for object source files variable in Makefile
Elian Mariano Gabriel
report at bugs.python.org
Fri Aug 28 14:58:28 EDT 2020
New submission from Elian Mariano Gabriel <elianmarianogabriel at gmail.com>:
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.
----------
components: Build
messages: 376045
nosy: ElianMariano
priority: normal
severity: normal
status: open
title: Refactor for object source files variable in Makefile
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41657>
_______________________________________
More information about the New-bugs-announce
mailing list