~tim/dlopen_test

ref: 2ad97d2058adb72528dd1cd118456a2864a9f5fa dlopen_test/Makefile -rw-r--r-- 132 bytes View raw
2ad97d20Tim Morgan Typo 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
lib: lib.c
	gcc -fPIC -g -c -Wall lib.c
	gcc  lib.o -shared -Wl,-soname,lib.so -o lib.so -lc

main: main.c
	gcc main.c -ldl -o main