Message376045
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. |
|
Date |
User |
Action |
Args |
2020-08-28 18:58:28 | ElianMariano | set | recipients:
+ ElianMariano |
2020-08-28 18:58:28 | ElianMariano | set | messageid: <1598641108.18.0.0642772004669.issue41657@roundup.psfhosted.org> |
2020-08-28 18:58:28 | ElianMariano | link | issue41657 messages |
2020-08-28 18:58:28 | ElianMariano | create | |
|