aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 17 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 70e79d4..c1aecde 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ LITMUS_KERNEL ?= ../litmus-rt
19# Internal configuration. 19# Internal configuration.
20 20
21# compiler flags 21# compiler flags
22flags-debug = -O2 -Wall -Werror -g -Wdeclaration-after-statement 22flags-debug = -O0 -Wall -g -Wdeclaration-after-statement
23flags-api = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE 23flags-api = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE
24 24
25# architecture-specific flags 25# architecture-specific flags
@@ -73,7 +73,7 @@ AR := ${CROSS_COMPILE}${AR}
73 73
74all = lib ${rt-apps} 74all = lib ${rt-apps}
75rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ 75rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \
76 base_mt_task uncache runtests resctrl mc2spin 76 base_mt_task uncache runtests resctrl mc2spin test1 mttest
77 77
78.PHONY: all lib clean dump-config TAGS tags cscope help doc 78.PHONY: all lib clean dump-config TAGS tags cscope help doc
79 79
@@ -238,8 +238,22 @@ lib-measure_syscall = -lm
238obj-resctrl = resctrl.o 238obj-resctrl = resctrl.o
239 239
240obj-mc2spin = mc2spin.o common.o 240obj-mc2spin = mc2spin.o common.o
241lib-mc2spin = -lrt 241lib-mc2spin = -lrt -static
242 242
243obj-mc2pollute = mc2pollute.o common.o
244lib-mc2pollute = -lrt -static
245
246obj-mc2syn = mc2syn.o common.o
247lib-mc2syn = -lrt -static
248
249obj-memthrash = memthrash.o
250lib-memthrash = -lrt
251
252obj-test1 = test1.o common.o
253lib-test1 = -lrt -static
254
255obj-mttest = mttest.o
256ldf-mttest = -pthread
243# ############################################################################## 257# ##############################################################################
244# Build everything that depends on liblitmus. 258# Build everything that depends on liblitmus.
245 259