aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4742fd2..ee2a9b2 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 = -O2 -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 76 base_mt_task uncache runtests mc2mem_stc mc2mem_ssh mc2spin
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
@@ -234,6 +234,14 @@ obj-release_ts = release_ts.o
234obj-measure_syscall = null_call.o 234obj-measure_syscall = null_call.o
235lib-measure_syscall = -lm 235lib-measure_syscall = -lm
236 236
237obj-mc2mem_stc = mc2mem.o common.o
238lib-mc2mem_stc = -lrt -static
239
240obj-mc2mem_ssh = mc2mem.o common.o
241lib-mc2mem_ssh = -lrt
242
243obj-mc2spin = mc2spin.o common.o
244lib-mc2spin = -lrt
237# ############################################################################## 245# ##############################################################################
238# Build everything that depends on liblitmus. 246# Build everything that depends on liblitmus.
239 247