New submission from Elian Mariano Gabriel <elianmarianogabr...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue41657>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to