summaryrefslogtreecommitdiffstats
path: root/SD-VBS/common/makefiles/Makefile.recurse
diff options
context:
space:
mode:
authorLeo Chan <leochanj@live.unc.edu>2020-10-22 01:53:21 -0400
committerJoshua Bakita <jbakita@cs.unc.edu>2020-10-22 01:56:35 -0400
commitd17b33131c14864bd1eae275f49a3f148e21cf29 (patch)
tree0d8f77922e8d193cb0f6edab83018f057aad64a0 /SD-VBS/common/makefiles/Makefile.recurse
parent601ed25a4c5b66cb75315832c15613a727db2c26 (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.recurse41
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
10SUBDIRS = $(patsubst %/Makefile,%,$(wildcard */Makefile))
11
12RECURSE-DEPENDS = $(patsubst %,%.traverse,$(SUBDIRS))
13
14all: recurse
15
16debug: recurse
17
18clean: recurse
19
20compile: recurse
21
22c-run: recurse
23
24matlab-run: recurse
25
26mcc-run: recurse
27
28recurse: $(RECURSE-DEPENDS)
29
30time-run: recurse
31
32preload-run: recurse
33
34run: recurse
35
36rt-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)