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:
Fergus Henderson
2000-12-09 11:03:10 +00:00
parent 7e40904f02
commit bc34d2adc6
2 changed files with 12 additions and 2 deletions

View File

@@ -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