aboutsummaryrefslogtreecommitdiff
path: root/01_hello_dynld/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2020-11-21 18:29:54 +0100
committerjohannst <johannes.stoelp@gmail.com>2020-11-21 18:29:54 +0100
commit380465cc62d2a8cd59e4c69026e64f0f97a79e2f (patch)
tree52ad389b071ce03e14d2f55b7951e380d94dba59 /01_hello_dynld/Makefile
parent8f487b87ac4b2172508ca95c1d4d7ce9793d83a5 (diff)
downloaddynld-380465cc62d2a8cd59e4c69026e64f0f97a79e2f.tar.gz
dynld-380465cc62d2a8cd59e4c69026e64f0f97a79e2f.zip
rename 01
Diffstat (limited to '01_hello_dynld/Makefile')
-rw-r--r--01_hello_dynld/Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/01_hello_dynld/Makefile b/01_hello_dynld/Makefile
deleted file mode 100644
index efcc457..0000000
--- a/01_hello_dynld/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-inspect: build
- readelf -W --sections main
- readelf -W --dynamic main
- readelf -W --program-headers main
- readelf -W --string-dump .interp main
- gdb -q --batch -ex 'starti' -ex 'bt' ./main
-
-build: libgreet.c main.c
- gcc -o libgreet.so libgreet.c -shared -fPIC
- gcc -o main main.c -lgreet -L. -Wl,--rpath=$(PWD)
-
-clean:
- rm -f libgreet.so main