diff options
Diffstat (limited to 'dis/original/Makefile')
| -rwxr-xr-x[-rw-r--r--] | dis/original/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/dis/original/Makefile b/dis/original/Makefile index 98634ac..7ff5e2a 100644..100755 --- a/dis/original/Makefile +++ b/dis/original/Makefile | |||
| @@ -1,8 +1,20 @@ | |||
| 1 | LIBLITMUS ?= /media/speedy/litmus/liblitmus | 1 | LIBLITMUS ?= /media/speedy/litmus/liblitmus |
| 2 | CC ?= gcc | 2 | CC ?= gcc |
| 3 | CFLAGS = -pthread -O2 -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include -I/playpen/jbakita/HRTSMT-RTSS19/FinalBenchmarkSetup/baseline/source | 3 | CFLAGS = -pthread -O2 -g -I../../baseline/source |
| 4 | LDFLAGS = -lrt -lm -L${LIBLITMUS} -llitmus | 4 | LDFLAGS = -lrt -lm |
| 5 | COMMON = /playpen/jbakita/HRTSMT-RTSS19/FinalBenchmarkSetup/baseline/source/extra.h /media/speedy/litmus/tools/mmdc/mmdc.c | 5 | COMMON = ../../baseline/source/extra.h |
| 6 | |||
| 7 | # Handle cases where we're also profiling with the MMDC on the i.MX6Q | ||
| 8 | ifneq ($(shell grep "define MMDC 1" ../../baseline/source/extra.h),) | ||
| 9 | »···COMMON += /media/speedy/litmus/tools/mmdc/mmdc.c | ||
| 10 | endif | ||
| 11 | |||
| 12 | # Include all the LITMUS^RT headers if we're using it | ||
| 13 | ifneq ($(shell grep "define LITMUS 1" ../../baseline/source/extra.h),) | ||
| 14 | CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include | ||
| 15 | LDFLAGS += -L${LIBLITMUS} -llitmus | ||
| 16 | endif | ||
| 17 | |||
| 6 | 18 | ||
| 7 | all: field matrix neighborhood pointer transitive update | 19 | all: field matrix neighborhood pointer transitive update |
| 8 | 20 | ||
