You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
1.9 KiB

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. # SlickEdit generated file. Do not edit this file except in designated areas.
  2. # Make command to use for dependencies
  3. MAKE=make
  4. RM=rm
  5. MKDIR=mkdir
  6. # -----Begin user-editable area-----
  7. # -----End user-editable area-----
  8. # If no configuration is specified, "Debug" will be used
  9. ifndef CFG
  10. CFG=Debug
  11. endif
  12. #
  13. # Configuration: Debug
  14. #
  15. ifeq "$(CFG)" "Debug"
  16. OUTDIR=Debug
  17. OUTFILE=$(OUTDIR)/nph-video
  18. CFG_INC=
  19. CFG_LIB=-lm -lpthread `pkg-config --libs --cflags opencv`
  20. CFG_OBJ=
  21. COMMON_OBJ=$(OUTDIR)/nph-video.o
  22. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  23. ALL_OBJ=$(OUTDIR)/nph-video.o -lm -lpthread `pkg-config --libs \
  24. --cflags opencv`
  25. COMPILE=g++ -c -g -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  26. LINK=g++ -g -o "$(OUTFILE)" $(ALL_OBJ)
  27. # Pattern rules
  28. $(OUTDIR)/%.o : %.cpp
  29. $(COMPILE)
  30. # Build rules
  31. all: $(OUTFILE)
  32. $(OUTFILE): $(OUTDIR) $(OBJ)
  33. $(LINK)
  34. $(OUTDIR):
  35. $(MKDIR) -p "$(OUTDIR)"
  36. # Rebuild this project
  37. rebuild: cleanall all
  38. # Clean this project
  39. clean:
  40. $(RM) -f $(OUTFILE)
  41. $(RM) -f $(OBJ)
  42. # Clean this project and all dependencies
  43. cleanall: clean
  44. endif
  45. #
  46. # Configuration: Release
  47. #
  48. ifeq "$(CFG)" "Release"
  49. OUTDIR=Release
  50. OUTFILE=$(OUTDIR)/nph-video
  51. CFG_INC=
  52. CFG_LIB=-lm -lpthread `pkg-config --libs --cflags opencv`
  53. CFG_OBJ=
  54. COMMON_OBJ=$(OUTDIR)/nph-video.o
  55. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  56. ALL_OBJ=$(OUTDIR)/nph-video.o -lm -lpthread `pkg-config --libs \
  57. --cflags opencv`
  58. COMPILE=g++ -c -Ofast -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  59. LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
  60. # Pattern rules
  61. $(OUTDIR)/%.o : %.cpp
  62. $(COMPILE)
  63. # Build rules
  64. all: $(OUTFILE)
  65. $(OUTFILE): $(OUTDIR) $(OBJ)
  66. $(LINK)
  67. $(OUTDIR):
  68. $(MKDIR) -p "$(OUTDIR)"
  69. # Rebuild this project
  70. rebuild: cleanall all
  71. # Clean this project
  72. clean:
  73. $(RM) -f $(OUTFILE)
  74. $(RM) -f $(OBJ)
  75. # Clean this project and all dependencies
  76. cleanall: clean
  77. endif