aboutsummaryrefslogtreecommitdiff
path: root/01_hello_dynld/Makefile
diff options
context:
space:
mode:
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