Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Aug 3rd, 2010 167 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #==================================
  2. # Makefile for building: libsopp.a
  3. #==================================
  4.  
  5. # Definitions
  6. #------------
  7.  
  8. # C compiler
  9. CC            = gcc
  10. # C++ compiler
  11. CXX           = g++
  12. # Include file directory
  13. INC_DIR       = ./include
  14. # Object file directory
  15. OBJ_DIR       = ./obj
  16.  
  17. # Macros
  18. #-------
  19.  
  20. # Tests for the obj directory
  21. TEST_OBJ      = test -d obj
  22. # Makes the obj directory
  23. MAKE_OBJ      = mkdir obj
  24. # Removes the obj directory
  25. REM_OBJ       = rm -r obj
  26.  
  27. all: object_directory json_reader.o json_writer.o json_value.o
  28.         ar -r libjsoncpp.a obj/json_reader.o obj/json_writer.o obj/json_value.o
  29.  
  30. json_reader.o: src/lib_json/json_reader.cpp
  31.         $(CXX) -I $(INC_DIR) -c -o obj/json_reader.o src/lib_json/json_reader.cpp
  32.  
  33. json_writer.o: src/lib_json/json_writer.cpp
  34.         $(CXX) -I $(INC_DIR) -c -o obj/json_writer.o src/lib_json/json_writer.cpp
  35.  
  36. json_value.o: src/lib_json/json_value.cpp
  37.         $(CXX) -I $(INC_DIR) -c -o obj/json_value.o src/lib_json/json_value.cpp
  38.  
  39. object_directory:
  40.         $(TEST_OBJ) || $(MAKE_OBJ)
  41.  
  42. install:
  43.         sudo cp -r include/json --target-directory=/usr/include
  44.         cp libjsoncpp.a /usr/lib/libjsoncpp.a
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top