Files
mercury/tests/Mmake
Fergus Henderson fcedd5b5f2 Remove a lot of crud about alternative entry points
tests/Mmake:
	Remove a lot of crud about alternative entry points
	from the Mmake file.
1995-06-23 10:46:00 +00:00

37 lines
768 B
Plaintext

#-----------------------------------------------------------------------------#
MGNUCFLAGS=-g
#-----------------------------------------------------------------------------#
# .PRECIOUS: %.mod %.c %.o %_init.c %.no %.nu %_init.nl %_init.no
%_init.c: Entry
%.out: %
{ [ -f $*.inp ] && cat $*.inp; } | ./$< > $@ 2>&1;
%.exp: %.nu
{ [ -f $*.inp ] && cat $*.inp; } | ./$< > $@ 2>&1;
%.res: %.exp %.out
-rm -f $@
diff -u $*.exp $*.out > $@
#-----------------------------------------------------------------------------#
clean: clean_out clean_exp clean_res
clean_mc: clean_c clean_o clean_out clean_res
clean_out:
rm -f *.out
clean_exp:
rm -f *.exp
clean_res:
rm -f *.res
#-----------------------------------------------------------------------------#