mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 23:05:21 +00:00
Fix a bug with the Mmake dependencies for il' and .rlo'
Estimated hours taken: 0.5 compiler/modules.m: Fix a bug with the Mmake dependencies for `il' and `.rlo' files in cases of code involving nested modules where the source file name doesn't directly match the fully-qualified module name. scripts/Mmake.rules: Fix a cut-and-paste error in the rule for creating `.il' files.
This commit is contained in:
@@ -180,7 +180,7 @@ $(rlos_subdir)%.rlo : %.m
|
||||
|
||||
# .NET back-end
|
||||
$(ils_subdir)%.il : %.m
|
||||
rm -f $(ils_subdir)$*.c
|
||||
rm -f $(ils_subdir)$*.il
|
||||
$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) --il-only $< > $*.err 2>&1
|
||||
|
||||
# If we are removing the .c files, we need to tell Make that we're
|
||||
|
||||
Reference in New Issue
Block a user