QUOTE: Love yourself first, then others.

Makefile - libjson - A simple JSON parser

libjson

A simple JSON parser
git clone git@soophie.de:/srv/git/libjson
log | files | refs | readme

Makefile (360B)


      1 default: build
      2 
      3 build:
      4 	cc -o libjson.so -shared -fPIC -lpthread -lssl -Wall -Wextra libjson.c
      5 
      6 install:
      7 	cc -o libjson.so -shared -fPIC libjson.c
      8 	sudo cp libjson.h /usr/local/include/
      9 	sudo cp libjson.so /usr/local/lib/
     10 	sudo ldconfig
     11 	rm libjson.so
     12 
     13 uninstall:
     14 	sudo rm /usr/local/include/libjson.h
     15 	sudo rm /usr/local/lib/libjson.so
     16 
     17 clean:
     18 	rm libjson.so