I'd rather use copy-paste then that. Seems too much to add one just for this.
I'd rather use copy-paste then that. Seems too much to add one just for this.
It is too clear and so it is hard to see.
A dunce once searched for fire with a lighted lantern.
Had he known what fire was,
He could have cooked his rice much sooner.
Then write script generate_test_rules.sh which takes .mir filenames on command line and prints make rules for those tests to stdout. To add a test .mir, add its name to the deps for all_tests.mk targetCode:all_tests.mk: test1.mir test2.mir test3.mir generate_test_rules.sh $^ > $@ -include all_tests.mk
Last edited by brewbuck; 11-25-2011 at 03:00 PM.
Code://try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}