diff options
| author | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-10-13 16:27:40 -0400 |
|---|---|---|
| committer | Namhoon Kim <namhoonk@cs.unc.edu> | 2016-10-13 16:27:40 -0400 |
| commit | b6ef12e31351d23a439597162f8d0fa7031b771d (patch) | |
| tree | 9e1c36eabaef6def1df0c0ffe56db608f0c5852c /Makefile | |
| parent | 262677fc436c3e2109e628bb2f4708c6b279a551 (diff) | |
RTAS 2017 submissionwip-shared-lib
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 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 = -O2 -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 | 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 | |||
| 234 | obj-measure_syscall = null_call.o | 234 | obj-measure_syscall = null_call.o |
| 235 | lib-measure_syscall = -lm | 235 | lib-measure_syscall = -lm |
| 236 | 236 | ||
| 237 | obj-mc2mem_stc = mc2mem.o common.o | ||
| 238 | lib-mc2mem_stc = -lrt -static | ||
| 239 | |||
| 240 | obj-mc2mem_ssh = mc2mem.o common.o | ||
| 241 | lib-mc2mem_ssh = -lrt | ||
| 242 | |||
| 243 | obj-mc2spin = mc2spin.o common.o | ||
| 244 | lib-mc2spin = -lrt | ||
| 237 | # ############################################################################## | 245 | # ############################################################################## |
| 238 | # Build everything that depends on liblitmus. | 246 | # Build everything that depends on liblitmus. |
| 239 | 247 | ||
