aboutsummaryrefslogtreecommitdiff
path: root/01_dynamic_linking/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '01_dynamic_linking/Makefile')
-rw-r--r--01_dynamic_linking/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/01_dynamic_linking/Makefile b/01_dynamic_linking/Makefile
index 50aa0c3..096a8ca 100644
--- a/01_dynamic_linking/Makefile
+++ b/01_dynamic_linking/Makefile
@@ -9,7 +9,7 @@ inspect: build
build: libgreet.c main.c
gcc -o libgreet.so libgreet.c -shared -fPIC
- gcc -o main main.c -lgreet -L. -Wl,--rpath=$(PWD)
+ gcc -o main main.c -lgreet -L. -Wl,--rpath=$(CURDIR)
clean:
rm -f libgreet.so main