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.

109 lines
2.1 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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)/ut_basic_object
  18. CFG_INC=
  19. CFG_LIB=
  20. CFG_OBJ=
  21. COMMON_OBJ=$(OUTDIR)/basicObject.o $(OUTDIR)/md5.o $(OUTDIR)/test.o
  22. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  23. ALL_OBJ=$(OUTDIR)/basicObject.o $(OUTDIR)/md5.o $(OUTDIR)/test.o
  24. COMPILE=g++ -c -x c++ -O0 -g3 -ggdb -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  25. LINK=g++ -O0 -g3 -ggdb -o "$(OUTFILE)" $(ALL_OBJ)
  26. # Pattern rules
  27. $(OUTDIR)/%.o : %.cpp
  28. $(COMPILE)
  29. $(OUTDIR)/%.o : ../../../lib/alg/generic/%.cpp
  30. $(COMPILE)
  31. $(OUTDIR)/%.o : ../../../lib/components/base/%.cpp
  32. $(COMPILE)
  33. # Build rules
  34. all: $(OUTFILE)
  35. $(OUTFILE): $(OUTDIR) $(OBJ)
  36. $(LINK)
  37. $(OUTDIR):
  38. $(MKDIR) -p "$(OUTDIR)"
  39. # Rebuild this project
  40. rebuild: cleanall all
  41. # Clean this project
  42. clean:
  43. $(RM) -f $(OUTFILE)
  44. $(RM) -f $(OBJ)
  45. # Clean this project and all dependencies
  46. cleanall: clean
  47. endif
  48. #
  49. # Configuration: Release
  50. #
  51. ifeq "$(CFG)" "Release"
  52. OUTDIR=Release
  53. OUTFILE=$(OUTDIR)/ut_basic_object
  54. CFG_INC=
  55. CFG_LIB=
  56. CFG_OBJ=
  57. COMMON_OBJ=$(OUTDIR)/basicObject.o $(OUTDIR)/md5.o $(OUTDIR)/test.o
  58. OBJ=$(COMMON_OBJ) $(CFG_OBJ)
  59. ALL_OBJ=$(OUTDIR)/basicObject.o $(OUTDIR)/md5.o $(OUTDIR)/test.o
  60. COMPILE=g++ -c -x c++ -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $<
  61. LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ)
  62. # Pattern rules
  63. $(OUTDIR)/%.o : %.cpp
  64. $(COMPILE)
  65. $(OUTDIR)/%.o : ../../../lib/alg/generic/%.cpp
  66. $(COMPILE)
  67. $(OUTDIR)/%.o : ../../../lib/components/base/%.cpp
  68. $(COMPILE)
  69. # Build rules
  70. all: $(OUTFILE)
  71. $(OUTFILE): $(OUTDIR) $(OBJ)
  72. $(LINK)
  73. $(OUTDIR):
  74. $(MKDIR) -p "$(OUTDIR)"
  75. # Rebuild this project
  76. rebuild: cleanall all
  77. # Clean this project
  78. clean:
  79. $(RM) -f $(OUTFILE)
  80. $(RM) -f $(OBJ)
  81. # Clean this project and all dependencies
  82. cleanall: clean
  83. endif