Makefile: Move resources via resources/Makefile

This commit is contained in:
Marco Cawthorne 2021-06-02 15:51:27 +02:00
parent 88e7a872e4
commit 1cfa5fc5cd
2 changed files with 113 additions and 2 deletions

View file

@ -1,12 +1,12 @@
all:
cp -Rv ./resources/ ./build/
mkdir -p ./build
cd libs && $(MAKE)
cd radiant && $(MAKE)
cd plugins && $(MAKE)
cd tools && $(MAKE)
cd resources && $(MAKE)
clean:
-rm -rf ./build
cd libs && $(MAKE) clean
cd radiant && $(MAKE) clean
cd plugins && $(MAKE) clean

111
resources/Makefile Normal file
View file

@ -0,0 +1,111 @@
all:
mkdir -p ../build/bitmaps
mkdir -p ../build/games
mkdir -p ../build/gl
mkdir -p ../build/platform.game
cp -vf global.xlink ../build/global.xlink
cp -vf ./platform.game/default_build_menu.xml ../build/platform.game/default_build_menu.xml
cp -vf ./games/platform.game ../build/games/platform.game
cp -vf ./gl/lighting_DBS_omni_fp.glp ../build/gl/lighting_DBS_omni_fp.glp
cp -vf ./gl/lighting_DBS_omni_fp.glsl ../build/gl/lighting_DBS_omni_fp.glsl
cp -vf ./gl/lighting_DBS_omni_vp.glp ../build/gl/lighting_DBS_omni_vp.glp
cp -vf ./gl/lighting_DBS_omni_vp.glsl ../build/gl/lighting_DBS_omni_vp.glsl
cp -vf ./gl/lighting_DBS_XY_Z_arbfp1.cg ../build/gl/lighting_DBS_XY_Z_arbfp1.cg
cp -vf ./gl/lighting_DBS_XY_Z_arbvp1.cg ../build/gl/lighting_DBS_XY_Z_arbvp1.cg
cp -vf ./gl/utils.cg ../build/gl/utils.cg
cp -vf ./gl/zfill_arbfp1.cg ../build/gl/zfill_arbfp1.cg
cp -vf ./gl/zfill_arbvp1.cg ../build/gl/zfill_arbvp1.cg
cp -vf ./gl/zfill_fp.glp ../build/gl/zfill_fp.glp
cp -vf ./gl/zfill_fp.glsl ../build/gl/zfill_fp.glsl
cp -vf ./gl/zfill_vp.glp ../build/gl/zfill_vp.glp
cp -vf ./gl/zfill_vp.glsl ../build/gl/zfill_vp.glsl
cp -vf ./bitmaps/black.xpm ../build/bitmaps/black.xpm
cp -vf ./bitmaps/brush_flipx.xpm ../build/bitmaps/brush_flipx.xpm
cp -vf ./bitmaps/brush_flipy.xpm ../build/bitmaps/brush_flipy.xpm
cp -vf ./bitmaps/brush_flipz.xpm ../build/bitmaps/brush_flipz.xpm
cp -vf ./bitmaps/brush_rotatex.xpm ../build/bitmaps/brush_rotatex.xpm
cp -vf ./bitmaps/brush_rotatey.xpm ../build/bitmaps/brush_rotatey.xpm
cp -vf ./bitmaps/brush_rotatez.xpm ../build/bitmaps/brush_rotatez.xpm
cp -vf ./bitmaps/cap_bevel.xpm ../build/bitmaps/cap_bevel.xpm
cp -vf ./bitmaps/cap_curve.xpm ../build/bitmaps/cap_curve.xpm
cp -vf ./bitmaps/cap_cylinder.xpm ../build/bitmaps/cap_cylinder.xpm
cp -vf ./bitmaps/cap_endcap.xpm ../build/bitmaps/cap_endcap.xpm
cp -vf ./bitmaps/cap_ibevel.xpm ../build/bitmaps/cap_ibevel.xpm
cp -vf ./bitmaps/cap_iendcap.xpm ../build/bitmaps/cap_iendcap.xpm
cp -vf ./bitmaps/console.xpm ../build/bitmaps/console.xpm
cp -vf ./bitmaps/copy.xpm ../build/bitmaps/copy.xpm
cp -vf ./bitmaps/cut.xpm ../build/bitmaps/cut.xpm
cp -vf ./bitmaps/dontselectcurve.xpm ../build/bitmaps/dontselectcurve.xpm
cp -vf ./bitmaps/dontselectmodel.xpm ../build/bitmaps/dontselectmodel.xpm
cp -vf ./bitmaps/ellipsis.xpm ../build/bitmaps/ellipsis.xpm
cp -vf ./bitmaps/entities.xpm ../build/bitmaps/entities.xpm
cp -vf ./bitmaps/file_new.xpm ../build/bitmaps/file_new.xpm
cp -vf ./bitmaps/file_open.xpm ../build/bitmaps/file_open.xpm
cp -vf ./bitmaps/file_save.xpm ../build/bitmaps/file_save.xpm
cp -vf ./bitmaps/icon.xpm ../build/bitmaps/icon.xpm
cp -vf ./bitmaps/lightinspector.xpm ../build/bitmaps/lightinspector.xpm
cp -vf ./bitmaps/logo.xpm ../build/bitmaps/logo.xpm
cp -vf ./bitmaps/modify_edges.xpm ../build/bitmaps/modify_edges.xpm
cp -vf ./bitmaps/modify_faces.xpm ../build/bitmaps/modify_faces.xpm
cp -vf ./bitmaps/modify_vertices.xpm ../build/bitmaps/modify_vertices.xpm
cp -vf ./bitmaps/noFalloff.xpm ../build/bitmaps/noFalloff.xpm
cp -vf ./bitmaps/notex.tga ../build/bitmaps/notex.tga
cp -vf ./bitmaps/paste.xpm ../build/bitmaps/paste.xpm
cp -vf ./bitmaps/patch_bend.xpm ../build/bitmaps/patch_bend.xpm
cp -vf ./bitmaps/patch_drilldown.xpm ../build/bitmaps/patch_drilldown.xpm
cp -vf ./bitmaps/patch_insdel.xpm ../build/bitmaps/patch_insdel.xpm
cp -vf ./bitmaps/patch_showboundingbox.xpm ../build/bitmaps/patch_showboundingbox.xpm
cp -vf ./bitmaps/patch_weld.xpm ../build/bitmaps/patch_weld.xpm
cp -vf ./bitmaps/patch_wireframe.xpm ../build/bitmaps/patch_wireframe.xpm
cp -vf ./bitmaps/popup_selection.xpm ../build/bitmaps/popup_selection.xpm
cp -vf ./bitmaps/redo.xpm ../build/bitmaps/redo.xpm
cp -vf ./bitmaps/refresh_models.xpm ../build/bitmaps/refresh_models.xpm
cp -vf ./bitmaps/scalelockx.xpm ../build/bitmaps/scalelockx.xpm
cp -vf ./bitmaps/scalelocky.xpm ../build/bitmaps/scalelocky.xpm
cp -vf ./bitmaps/scalelockz.xpm ../build/bitmaps/scalelockz.xpm
cp -vf ./bitmaps/selection_csgmerge.xpm ../build/bitmaps/selection_csgmerge.xpm
cp -vf ./bitmaps/selection_csgsubtract.xpm ../build/bitmaps/selection_csgsubtract.xpm
cp -vf ./bitmaps/selection_makehollow.xpm ../build/bitmaps/selection_makehollow.xpm
cp -vf ./bitmaps/selection_makeroom.xpm ../build/bitmaps/selection_makeroom.xpm
cp -vf ./bitmaps/selection_selectcompletetall.xpm ../build/bitmaps/selection_selectcompletetall.xpm
cp -vf ./bitmaps/selection_selectinside.xpm ../build/bitmaps/selection_selectinside.xpm
cp -vf ./bitmaps/selection_selectpartialtall.xpm ../build/bitmaps/selection_selectpartialtall.xpm
cp -vf ./bitmaps/selection_selecttouching.xpm ../build/bitmaps/selection_selecttouching.xpm
cp -vf ./bitmaps/select_mouseresize.xpm ../build/bitmaps/select_mouseresize.xpm
cp -vf ./bitmaps/select_mouserotate.xpm ../build/bitmaps/select_mouserotate.xpm
cp -vf ./bitmaps/select_mousescale.xpm ../build/bitmaps/select_mousescale.xpm
cp -vf ./bitmaps/select_mousetranslate.xpm ../build/bitmaps/select_mousetranslate.xpm
cp -vf ./bitmaps/shadernotex.tga ../build/bitmaps/shadernotex.tga
cp -vf ./bitmaps/show_entities.xpm ../build/bitmaps/show_entities.xpm
cp -vf ./bitmaps/side_brush.png ../build/bitmaps/side_brush.png
cp -vf ./bitmaps/side_cut.png ../build/bitmaps/side_cut.png
cp -vf ./bitmaps/side_edges.xpm ../build/bitmaps/side_edges.xpm
cp -vf ./bitmaps/side_entities.png ../build/bitmaps/side_entities.png
cp -vf ./bitmaps/side_entspec.png ../build/bitmaps/side_entspec.png
cp -vf ./bitmaps/side_faces.xpm ../build/bitmaps/side_faces.xpm
cp -vf ./bitmaps/side_move.png ../build/bitmaps/side_move.png
cp -vf ./bitmaps/side_patch.png ../build/bitmaps/side_patch.png
cp -vf ./bitmaps/side_patchspec.png ../build/bitmaps/side_patchspec.png
cp -vf ./bitmaps/side_rotate.png ../build/bitmaps/side_rotate.png
cp -vf ./bitmaps/side_scale.png ../build/bitmaps/side_scale.png
cp -vf ./bitmaps/side_select.png ../build/bitmaps/side_select.png
cp -vf ./bitmaps/side_surfspec.png ../build/bitmaps/side_surfspec.png
cp -vf ./bitmaps/side_tex.png ../build/bitmaps/side_tex.png
cp -vf ./bitmaps/side_vertices.xpm ../build/bitmaps/side_vertices.xpm
cp -vf ./bitmaps/splash.xcf ../build/bitmaps/splash.xcf
cp -vf ./bitmaps/splash.xpm ../build/bitmaps/splash.xpm
cp -vf ./bitmaps/texture_browser.xpm ../build/bitmaps/texture_browser.xpm
cp -vf ./bitmaps/texture_lock.xpm ../build/bitmaps/texture_lock.xpm
cp -vf ./bitmaps/textures_popup.xpm ../build/bitmaps/textures_popup.xpm
cp -vf ./bitmaps/undo.xpm ../build/bitmaps/undo.xpm
cp -vf ./bitmaps/view_cameratoggle.xpm ../build/bitmaps/view_cameratoggle.xpm
cp -vf ./bitmaps/view_cameraupdate.xpm ../build/bitmaps/view_cameraupdate.xpm
cp -vf ./bitmaps/view_change.xpm ../build/bitmaps/view_change.xpm
cp -vf ./bitmaps/view_clipper.xpm ../build/bitmaps/view_clipper.xpm
cp -vf ./bitmaps/view_cubicclipping.xpm ../build/bitmaps/view_cubicclipping.xpm
cp -vf ./bitmaps/view_entity.xpm ../build/bitmaps/view_entity.xpm
cp -vf ./bitmaps/white.xpm ../build/bitmaps/white.xpm
cp -vf ./bitmaps/window1.xpm ../build/bitmaps/window1.xpm
cp -vf ./bitmaps/window2.xpm ../build/bitmaps/window2.xpm
cp -vf ./bitmaps/window3.xpm ../build/bitmaps/window3.xpm
cp -vf ./bitmaps/window4.xpm ../build/bitmaps/window4.xpm