Skip to content

Commit 66e8d70

Browse files
committed
Use $(DEEPFREEZE_C)
1 parent 418d72e commit 66e8d70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ regen-deepfreeze: $(DEEPFREEZE_C)
12571257
DEEPFREEZE_DEPS=$(srcdir)/Tools/build/deepfreeze.py Include/internal/pycore_global_strings.h $(FREEZE_MODULE_DEPS) $(FROZEN_FILES_OUT)
12581258

12591259
# BEGIN: deepfreeze modules
1260-
Python/deepfreeze/deepfreeze.c: $(DEEPFREEZE_DEPS)
1260+
$(DEEPFREEZE_C): $(DEEPFREEZE_DEPS)
12611261
$(PYTHON_FOR_FREEZE) $(srcdir)/Tools/build/deepfreeze.py \
12621262
Python/frozen_modules/importlib._bootstrap.h:importlib._bootstrap \
12631263
Python/frozen_modules/importlib._bootstrap_external.h:importlib._bootstrap_external \

Tools/build/freeze_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def regen_makefile(modules):
585585
pyfiles = []
586586
frozenfiles = []
587587
rules = ['']
588-
deepfreezerules = ["Python/deepfreeze/deepfreeze.c: $(DEEPFREEZE_DEPS)",
588+
deepfreezerules = ["$(DEEPFREEZE_C): $(DEEPFREEZE_DEPS)",
589589
"\t$(PYTHON_FOR_FREEZE) $(srcdir)/Tools/build/deepfreeze.py \\"]
590590
for src in _iter_sources(modules):
591591
frozen_header = relpath_for_posix_display(src.frozenfile, ROOT_DIR)

0 commit comments

Comments
 (0)