makefile 703 B

12345678910111213141516171819202122232425262728
  1. # 目标目录
  2. TARGET=../../zhixun3/new_energy/server/common/table/new_energy
  3. # 原目录
  4. SOURCE=./gen/common/table/new_energy
  5. .PHONY: all
  6. all:
  7. php main.php new_energy record;
  8. php main.php new_energy query;
  9. php main.php new_energy gset;
  10. mv $(SOURCE)/record/*.php $(TARGET)/record/;
  11. mv $(SOURCE)/query/*.php $(TARGET)/query/;
  12. mv $(SOURCE)/getter_setter/*.php $(TARGET)/getter_setter/;
  13. .PHONY: record
  14. record:
  15. php main.php new_energy record;
  16. mv $(SOURCE)/record/*.php $(TARGET)/record/;
  17. .PHONY: query
  18. query:
  19. php main.php new_energy query;
  20. mv $(SOURCE)/query/*.php $(TARGET)/query/;
  21. .PHONY: gset
  22. gset:
  23. php main.php new_energy gset;
  24. mv $(SOURCE)/getter_setter/*.php $(TARGET)/getter_setter/;