~tim/dlopen_test

dlopen_test/Makefile -rw-r--r-- 132 bytes View raw
c647d1a7Tim Morgan Add unlicense 1 year, 7 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