A minimal (file)path library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
163 B

lib:
gcc -Wall -Werror -shared -fPIC libpath.c -o libpath.so
clean:
rm -f test libpath.so
test: clean
gcc libpath.c test.c -static -Wall -O2 -o test && ./test