Guest User

Untitled

a guest
Apr 20th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.92 KB | None | 0 0
  1.  
  2. PREFIX=/usr/local
  3.  
  4. /* in make.include file */
  5.  
  6. DESTDIR=
  7.  
  8. ifdef P_FREETYPE
  9. FT_ARG = -DNO_FREETYPE
  10. else
  11. FT_ARG = `freetype-config --cflags` `freetype-config --libs`
  12. endif
  13.  
  14. CXX=g++
  15.  
  16. CXXFLAGS= -O3 -Wall -Wno-deprecated $(FT_ARG)
  17.  
  18. INC=  -I../src/ -I$(PREFIX)/include/ -I/wavelib/src/shared/
  19.  
  20. LIBS= -L../src -L$(PREFIX)/lib/ -lz -lpng -lpngwriter -L/wavelib/src/shared/ -lwavelet2d
  21.  
  22. INSTALL=install
  23.  
  24. SELF=make.include.linux
  25.  
  26. /******/
  27.  
  28. /* in Makefile */
  29.  
  30. include ../make.include
  31.  
  32. EXAMPLES= pngtest
  33.  
  34. LD_LIBRARY_PATH=./
  35.  
  36. all: $(EXAMPLES)
  37.  
  38. pngtest: pngtest.cc
  39.     $(CXX) $(CXXFLAGS) $(INC) pngtest.cc -o pngtest $(LIBS)
  40.  
  41. lyapunov: lyapunov.cc
  42.     $(CXX) $(CXXFLAGS) $(INC) lyapunov.cc -o lyapunov $(LIBS)
  43.  
  44. clean   :    
  45.     rm -f $(EXAMPLES) *~ arcoiris.png copiaburro.png one.png two.png
  46.     rm -f lyapunov.cc~ lyapunov.espaniol.cc~ Makefile~ pngtest.espaniol.cc~
  47.     rm -f .DS_Store out.png triangles.png
  48.  
  49. /********/
Add Comment
Please, Sign In to add comment