Advertisement
illwieckz

Urcheon Makefile examples

Feb 13th, 2017
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.44 KB | None | 0 0
  1. Makefile for an asset repository: texture, sound… (example)
  2. -----------------------------------------------------------
  3.  
  4. all: pakdir
  5.  
  6. update:
  7. urcheon pak --update
  8.  
  9. pakdir:
  10. urcheon pak --build --auto
  11.  
  12. pak: pakdir
  13. urcheon pak --package
  14.  
  15. clean:
  16. urcheon pak --clean
  17.  
  18. Makefile for a map repository (example)
  19. ---------------------------------------
  20.  
  21. all: pakdir
  22.  
  23. update:
  24. urcheon pak --update
  25.  
  26. novis:
  27. urcheon pak --build --auto --map-profile novis
  28.  
  29. test:
  30. urcheon pak --build --auto --map-profile test
  31.  
  32. final:
  33. urcheon pak --build --auto --map-profile final
  34.  
  35. pakdir: final
  36.  
  37. pak: pakdir
  38. urcheon pak --package
  39.  
  40. clean:
  41. urcheon pak --clean
  42.  
  43. Makefile for UnvanquishedAssets that contains everything as submodule (example)
  44. -------------------------------------------------------------------------------
  45.  
  46. ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
  47. export BUILDPREFIX=${ROOT_DIR}/build
  48. export PAKPATH=${ROOT_DIR}/src
  49.  
  50. all: pakdir
  51.  
  52. update:
  53. $(MAKE) -C "src/obj-all_src.pk3dir" update
  54. $(MAKE) -C "src/obj-buildables_src.pk3dir" update
  55. $(MAKE) -C "src/obj-players_src.pk3dir" update
  56. $(MAKE) -C "src/obj-weapons_src.pk3dir" update
  57. $(MAKE) -C "src/res-beacons_src.pk3dir" update
  58. $(MAKE) -C "src/res-emoticons_src.pk3dir" update
  59. $(MAKE) -C "src/snd-all_src.pk3dir" update
  60. $(MAKE) -C "src/snd-effects_src.pk3dir" update
  61. $(MAKE) -C "src/snd-legacy_src.pk3dir" update
  62. $(MAKE) -C "src/snd-soundtrack_src.pk3dir" update
  63. $(MAKE) -C "src/snd-voice_src.pk3dir" update
  64. $(MAKE) -C "src/tex-all_src.pk3dir" update
  65. $(MAKE) -C "src/tex-common_src.pk3dir" update
  66. $(MAKE) -C "src/tex-ej01-clean_src.pk3dir" update
  67. $(MAKE) -C "src/tex-ej01-common_src.pk3dir" update
  68. $(MAKE) -C "src/tex-ej01-ice_src.pk3dir" update
  69. $(MAKE) -C "src/tex-exm_src.pk3dir" update
  70. $(MAKE) -C "src/tex-ex_src.pk3dir" update
  71. $(MAKE) -C "src/tex-pk01_src.pk3dir" update
  72. $(MAKE) -C "src/tex-pk02_src.pk3dir" update
  73. $(MAKE) -C "src/tex-space_src.pk3dir" update
  74. $(MAKE) -C "src/tex-tech_src.pk3dir" update
  75. $(MAKE) -C "src/tex-trak5_src.pk3dir" update
  76. $(MAKE) -C "src/unvanquished_src.pk3dir" update
  77.  
  78. pakdir:
  79. $(MAKE) -C "src/obj-all_src.pk3dir" pakdir
  80. $(MAKE) -C "src/obj-buildables_src.pk3dir" pakdir
  81. $(MAKE) -C "src/obj-players_src.pk3dir" pakdir
  82. $(MAKE) -C "src/obj-weapons_src.pk3dir" pakdir
  83. $(MAKE) -C "src/res-beacons_src.pk3dir" pakdir
  84. $(MAKE) -C "src/res-emoticons_src.pk3dir" pakdir
  85. $(MAKE) -C "src/snd-all_src.pk3dir" pakdir
  86. $(MAKE) -C "src/snd-effects_src.pk3dir" pakdir
  87. $(MAKE) -C "src/snd-legacy_src.pk3dir" pakdir
  88. $(MAKE) -C "src/snd-soundtrack_src.pk3dir" pakdir
  89. $(MAKE) -C "src/snd-voice_src.pk3dir" pakdir
  90. $(MAKE) -C "src/tex-all_src.pk3dir" pakdir
  91. $(MAKE) -C "src/tex-common_src.pk3dir" pakdir
  92. $(MAKE) -C "src/tex-ej01-clean_src.pk3dir" pakdir
  93. $(MAKE) -C "src/tex-ej01-common_src.pk3dir" pakdir
  94. $(MAKE) -C "src/tex-ej01-ice_src.pk3dir" pakdir
  95. $(MAKE) -C "src/tex-exm_src.pk3dir" pakdir
  96. $(MAKE) -C "src/tex-ex_src.pk3dir" pakdir
  97. $(MAKE) -C "src/tex-pk01_src.pk3dir" pakdir
  98. $(MAKE) -C "src/tex-pk02_src.pk3dir" pakdir
  99. $(MAKE) -C "src/tex-space_src.pk3dir" pakdir
  100. $(MAKE) -C "src/tex-tech_src.pk3dir" pakdir
  101. $(MAKE) -C "src/tex-trak5_src.pk3dir" pakdir
  102. $(MAKE) -C "src/unvanquished_src.pk3dir" pakdir
  103.  
  104. pak: pakdir
  105. $(MAKE) -C "src/obj-all_src.pk3dir" pak
  106. $(MAKE) -C "src/obj-buildables_src.pk3dir" pak
  107. $(MAKE) -C "src/obj-players_src.pk3dir" pak
  108. $(MAKE) -C "src/obj-weapons_src.pk3dir" pak
  109. $(MAKE) -C "src/res-beacons_src.pk3dir" pak
  110. $(MAKE) -C "src/res-emoticons_src.pk3dir" pak
  111. $(MAKE) -C "src/snd-all_src.pk3dir" pak
  112. $(MAKE) -C "src/snd-effects_src.pk3dir" pak
  113. $(MAKE) -C "src/snd-legacy_src.pk3dir" pak
  114. $(MAKE) -C "src/snd-soundtrack_src.pk3dir" pak
  115. $(MAKE) -C "src/snd-voice_src.pk3dir" pak
  116. $(MAKE) -C "src/tex-all_src.pk3dir" pak
  117. $(MAKE) -C "src/tex-common_src.pk3dir" pak
  118. $(MAKE) -C "src/tex-ej01-clean_src.pk3dir" pak
  119. $(MAKE) -C "src/tex-ej01-common_src.pk3dir" pak
  120. $(MAKE) -C "src/tex-ej01-ice_src.pk3dir" pak
  121. $(MAKE) -C "src/tex-exm_src.pk3dir" pak
  122. $(MAKE) -C "src/tex-ex_src.pk3dir" pak
  123. $(MAKE) -C "src/tex-pk01_src.pk3dir" pak
  124. $(MAKE) -C "src/tex-pk02_src.pk3dir" pak
  125. $(MAKE) -C "src/tex-space_src.pk3dir" pak
  126. $(MAKE) -C "src/tex-tech_src.pk3dir" pak
  127. $(MAKE) -C "src/tex-trak5_src.pk3dir" pak
  128. $(MAKE) -C "src/unvanquished_src.pk3dir" pak
  129.  
  130. clean:
  131. $(MAKE) -C "src/obj-all_src.pk3dir" clean
  132. $(MAKE) -C "src/obj-buildables_src.pk3dir" clean
  133. $(MAKE) -C "src/obj-players_src.pk3dir" clean
  134. $(MAKE) -C "src/obj-weapons_src.pk3dir" clean
  135. $(MAKE) -C "src/res-beacons_src.pk3dir" clean
  136. $(MAKE) -C "src/res-emoticons_src.pk3dir" clean
  137. $(MAKE) -C "src/snd-all_src.pk3dir" clean
  138. $(MAKE) -C "src/snd-effects_src.pk3dir" clean
  139. $(MAKE) -C "src/snd-legacy_src.pk3dir" clean
  140. $(MAKE) -C "src/snd-soundtrack_src.pk3dir" clean
  141. $(MAKE) -C "src/snd-voice_src.pk3dir" clean
  142. $(MAKE) -C "src/tex-all_src.pk3dir" clean
  143. $(MAKE) -C "src/tex-common_src.pk3dir" clean
  144. $(MAKE) -C "src/tex-ej01-clean_src.pk3dir" clean
  145. $(MAKE) -C "src/tex-ej01-common_src.pk3dir" clean
  146. $(MAKE) -C "src/tex-ej01-ice_src.pk3dir" clean
  147. $(MAKE) -C "src/tex-exm_src.pk3dir" clean
  148. $(MAKE) -C "src/tex-ex_src.pk3dir" clean
  149. $(MAKE) -C "src/tex-pk01_src.pk3dir" clean
  150. $(MAKE) -C "src/tex-pk02_src.pk3dir" clean
  151. $(MAKE) -C "src/tex-space_src.pk3dir" clean
  152. $(MAKE) -C "src/tex-tech_src.pk3dir" clean
  153. $(MAKE) -C "src/tex-trak5_src.pk3dir" clean
  154. $(MAKE) -C "src/unvanquished_src.pk3dir" clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement