| 1 | # $Id: Makefile 2156 2008-01-25 13:25:12Z schimans $ |
| 2 | # Makefile for quant |
| 3 | |
| 4 | # The targets to be tested. Use .FILE.test-passed as target, if |
| 5 | # FILE.scm has to be tested. Use DIR/.TEST as target if a subdir has |
| 6 | # to be tested |
| 7 | |
| 8 | .TEST: quotrem/.TEST |
| 9 | touch .TEST |
| 10 | |
| 11 | |
| 12 | quotrem/.TEST: .always |
| 13 | (cd quotrem; $(MAKE) .TEST) |
| 14 | |
| 15 | # The relative path to the toplevel Minlog-Dir |
| 16 | TOP= ../../ |
| 17 | |
| 18 | # clean has to be implemented at each level. Always have genericclean as a |
| 19 | # dependency |
| 20 | |
| 21 | |
| 22 | .always: |
| 23 | |
| 24 | clean: genericclean |
| 25 | (cd quotrem; $(MAKE) clean) |
| 26 | |
| 27 | # |
| 28 | # Now include the standard rules for testing: |
| 29 | # |
| 30 | include ../Makefile.template |
| 31 | |
| 32 | |
| 33 | ## How it works: |
| 34 | ## entry point is always the target .TEST |
| 35 | ## Then for every file we have to produce the file .FILE.test-passed |
| 36 |