diff options
author | Robin Krahl <guskraro@student.gu.se> | 2017-10-20 13:05:25 +0200 |
---|---|---|
committer | Robin Krahl <guskraro@student.gu.se> | 2017-10-20 13:05:25 +0200 |
commit | 135ddb4464909e2c85dda7275e91568109126ffc (patch) | |
tree | 62baca9f82bed56a1d0389ab02a51b39e75da1a6 /broccoli/Makefile | |
parent | ca75b5fc5b505fa44a1f8705dd822dfcaa4ad455 (diff) | |
download | midbro-135ddb4464909e2c85dda7275e91568109126ffc.tar.gz midbro-135ddb4464909e2c85dda7275e91568109126ffc.tar.bz2 |
Makefile: Add lib to the runtime library path
Diffstat (limited to 'broccoli/Makefile')
-rw-r--r-- | broccoli/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/broccoli/Makefile b/broccoli/Makefile index 1ab59e8..02d9f66 100644 --- a/broccoli/Makefile +++ b/broccoli/Makefile @@ -19,7 +19,7 @@ midbro_test: $(CC) test/midbro_test.c -I./includes -o bin/midbro_test -L./lib -lmidbro bin/pasad: build/pasad.o - $(CC) $^ $(INC) -o $@ -Llib -lmidbro + $(CC) $^ $(INC) -o $@ -Llib -lmidbro -Wl,-rpath=$(shell pwd)/lib build/%.o: src/%.c $(CC) $(LIBCFLAGS) $(DEBUG) $(INC) $< -o $@ |