Guest User

Untitled

a guest
Nov 24th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #!/usr/bin/make -f
  2. # -*- makefile -*-
  3. # Sample debian/rules that uses debhelper.
  4. # This file was originally written by Joey Hess and Craig Small.
  5. # As a special exception, when this file is copied by dh-make into a
  6. # dh-make output file, you may use that output file without restriction.
  7. # This special exception was added by Craig Small in version 0.37 of dh-make.
  8.  
  9. # Uncomment this to turn on verbose mode.
  10. #export DH_VERBOSE=1
  11.  
  12.  
  13. # These are used for cross-compiling and for saving the configure script
  14. # from having to guess our platform (since we know it already)
  15. DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
  16. DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
  17.  
  18.  
  19. CFLAGS = -Wall -g
  20.  
  21. ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
  22. CFLAGS += -O0
  23. else
  24. CFLAGS += -O2
  25. endif
  26.  
  27. ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
  28. CONFIG_FLAGS += --enable-debug
  29. endif
Add Comment
Please, Sign In to add comment