makefile 337

  1. What is the purpose of .PHONY in a makefile?
  2. What is the difference between the GNU Makefile variable assignments =, ?=, := and +=?
  3. Passing additional variables from command line to make
  4. What's the opposite of 'make install', i.e. how do you uninstall a library in Linux?
  5. How to discover number of *logical* cores on Mac OS X?
  6. gcc makefile error: “No rule to make target …”
  7. What are and
  8. What do the makefile symbols $@ and $< mean?
  9. How do I write the 'cd' command in a makefile?
  10. Where can I find “make” program for Mac OS X Lion?
  11. makefile:4: *** missing separator. Stop
  12. How to make a SIMPLE C++ Makefile?
  13. Passing arguments to “make run”
  14. OS detecting makefile
  15. How do I force make/gcc to show me the commands?
  16. How to write loop in a Makefile?
  17. What is makeinfo, and how do I get it?
  18. How to print out a variable in makefile
  19. In Unix, can I run 'make' in a directory without cd'ing to that directory first?
  20. Difference between using Makefile and cmake to compile the code
  21. How can I configure my makefile for debug and release builds?
  22. How can I use Bash syntax in Makefile targets?
  23. Make error: missing separator
  24. Compiling with g++ using multiple cores
  25. Compiling C++ on remote Linux machine - “clock skew detected” warning
  26. Define make variable at rule execution time
  27. Why is no one using make for Java?
  28. How to assign the output of a command to a Makefile variable
  29. How to get current relative directory of your Makefile?
  30. Why does make think the target is up to date?
  31. How does “make” app know default target to build if no target is specified?
  32. How do you get the list of targets in a makefile?
  33. How do you force a makefile to rebuild a target
  34. How to run a makefile in Windows?
  35. Difference between CPPFLAGS and CXXFLAGS in GNU Make
  36. Makefiles with source files in different directories
  37. What do @, - and + do as prefixes to recipe lines in Make?
  38. List goals/targets in GNU make that contain variables in their definition
  39. Can I compile all .cpp files in src/ to .o's in obj/, then link to binary in ./?
  40. how to prevent “directory already exists error” in a makefile when using mkdir
  41. Why always ./configure; make; make install; as 3 separate steps?
  42. Using local makefile for CLion instead of CMake
  43. What is the difference between gmake and make?
  44. Using G++ to compile multiple .cpp and .h files
  45. What does @: (at symbol colon) mean in a Makefile?
  46. How do I check if file exists in Makefile?
  47. How to call Makefile from another Makefile?
  48. Makefile variable as prerequisite
  49. Cmake vs make sample codes?
  50. Is it possible to create a multi-line string variable in a Makefile