diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -19,7 +19,7 @@ LITMUS_KERNEL ?= ../litmus-rt | |||
19 | # Internal configuration. | 19 | # Internal configuration. |
20 | 20 | ||
21 | # compiler flags | 21 | # compiler flags |
22 | flags-debug = -O2 -Wall -Werror -g -Wdeclaration-after-statement | 22 | flags-debug = -O0 -Wall -g -Wdeclaration-after-statement |
23 | flags-api = -D_XOPEN_SOURCE=600 -D_GNU_SOURCE | 23 | flags-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 | ||
74 | all = lib ${rt-apps} | 74 | all = lib ${rt-apps} |
75 | rt-apps = cycles base_task rt_launch rtspin release_ts measure_syscall \ | 75 | rt-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 | |||
238 | obj-resctrl = resctrl.o | 238 | obj-resctrl = resctrl.o |
239 | 239 | ||
240 | obj-mc2spin = mc2spin.o common.o | 240 | obj-mc2spin = mc2spin.o common.o |
241 | lib-mc2spin = -lrt | 241 | lib-mc2spin = -lrt -static |
242 | 242 | ||
243 | obj-mc2pollute = mc2pollute.o common.o | ||
244 | lib-mc2pollute = -lrt -static | ||
245 | |||
246 | obj-mc2syn = mc2syn.o common.o | ||
247 | lib-mc2syn = -lrt -static | ||
248 | |||
249 | obj-memthrash = memthrash.o | ||
250 | lib-memthrash = -lrt | ||
251 | |||
252 | obj-test1 = test1.o common.o | ||
253 | lib-test1 = -lrt -static | ||
254 | |||
255 | obj-mttest = mttest.o | ||
256 | ldf-mttest = -pthread | ||
243 | # ############################################################################## | 257 | # ############################################################################## |
244 | # Build everything that depends on liblitmus. | 258 | # Build everything that depends on liblitmus. |
245 | 259 | ||