diff options
| author | Leo Chan <leochanj@live.unc.edu> | 2020-10-22 01:53:21 -0400 |
|---|---|---|
| committer | Joshua Bakita <jbakita@cs.unc.edu> | 2020-10-22 01:56:35 -0400 |
| commit | d17b33131c14864bd1eae275f49a3f148e21cf29 (patch) | |
| tree | 0d8f77922e8d193cb0f6edab83018f057aad64a0 /SD-VBS/common/makefiles/Makefile.recurse | |
| parent | 601ed25a4c5b66cb75315832c15613a727db2c26 (diff) | |
Squashed commit of the sb-vbs branch.
Includes the SD-VBS benchmarks modified to:
- Use libextra to loop as realtime jobs
- Preallocate memory before starting their main computation
- Accept input via stdin instead of via argc
Does not include the SD-VBS matlab code.
Fixes libextra execution in LITMUS^RT.
Diffstat (limited to 'SD-VBS/common/makefiles/Makefile.recurse')
| -rw-r--r-- | SD-VBS/common/makefiles/Makefile.recurse | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/SD-VBS/common/makefiles/Makefile.recurse b/SD-VBS/common/makefiles/Makefile.recurse new file mode 100644 index 0000000..ed575bb --- /dev/null +++ b/SD-VBS/common/makefiles/Makefile.recurse | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | # This file is included in the makefiles of the non-leaf nodes | ||
| 2 | # Thus the various targets in this file have to trickle down | ||
| 3 | # into the subdirectories | ||
| 4 | # List the subdirectories and call the target for each one of them | ||
| 5 | |||
| 6 | ################################################################ | ||
| 7 | # RECURSE | ||
| 8 | ################################################################ | ||
| 9 | # Listing the subdirectories | ||
| 10 | SUBDIRS = $(patsubst %/Makefile,%,$(wildcard */Makefile)) | ||
| 11 | |||
| 12 | RECURSE-DEPENDS = $(patsubst %,%.traverse,$(SUBDIRS)) | ||
| 13 | |||
| 14 | all: recurse | ||
| 15 | |||
| 16 | debug: recurse | ||
| 17 | |||
| 18 | clean: recurse | ||
| 19 | |||
| 20 | compile: recurse | ||
| 21 | |||
| 22 | c-run: recurse | ||
| 23 | |||
| 24 | matlab-run: recurse | ||
| 25 | |||
| 26 | mcc-run: recurse | ||
| 27 | |||
| 28 | recurse: $(RECURSE-DEPENDS) | ||
| 29 | |||
| 30 | time-run: recurse | ||
| 31 | |||
| 32 | preload-run: recurse | ||
| 33 | |||
| 34 | run: recurse | ||
| 35 | |||
| 36 | rt-run: recurse | ||
| 37 | |||
| 38 | # MAKECMDGOALS contains the gmake target specified on the command line | ||
| 39 | # it is defined automatically by gmake | ||
| 40 | %.traverse: | ||
| 41 | $(MAKE) -C $* $(MAKECMDGOALS) | ||
