diff options
Diffstat (limited to 'dis/Makefile')
| -rwxr-xr-x | dis/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dis/Makefile b/dis/Makefile index df93116..77e0b8a 100755 --- a/dis/Makefile +++ b/dis/Makefile | |||
| @@ -2,9 +2,9 @@ | |||
| 2 | # Build the DIS benchmarks with all-pairs or unpaired instrumentation | 2 | # Build the DIS benchmarks with all-pairs or unpaired instrumentation |
| 3 | # (I know that this Makefile is mildly evil and breaks so many rules | 3 | # (I know that this Makefile is mildly evil and breaks so many rules |
| 4 | # that a good Makefile should follow. Sorry - at least I have one.) | 4 | # that a good Makefile should follow. Sorry - at least I have one.) |
| 5 | LIBLITMUS ?= /media/speedy/litmus/liblitmus | 5 | LIBLITMUS ?= /home/litmus/liblitmus |
| 6 | CC ?= gcc | 6 | CC ?= gcc |
| 7 | CFLAGS += -pthread -O2 -I.. | 7 | override CFLAGS += -pthread -O2 -I.. |
| 8 | LDFLAGS = -lrt -lm | 8 | LDFLAGS = -lrt -lm |
| 9 | COMMON = ../extra.h | 9 | COMMON = ../extra.h |
| 10 | 10 | ||
| @@ -15,8 +15,8 @@ endif | |||
| 15 | 15 | ||
| 16 | # Include all the LITMUS^RT headers if we're using it | 16 | # Include all the LITMUS^RT headers if we're using it |
| 17 | ifneq ($(shell grep "define LITMUS 1" ../extra.h),) | 17 | ifneq ($(shell grep "define LITMUS 1" ../extra.h),) |
| 18 | CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include | 18 | override CFLAGS += -I${LIBLITMUS}/include -I${LIBLITMUS}/arch/arm/include |
| 19 | LDFLAGS += -L${LIBLITMUS} -llitmus | 19 | override LDFLAGS += -L${LIBLITMUS} -llitmus |
| 20 | endif | 20 | endif |
| 21 | 21 | ||
| 22 | all: baseline | 22 | all: baseline |
