Skip to content

Commit dd8df94

Browse files
Raelrjonjondev
authored andcommitted
Renamed WCARD to RWCARDGLOB for clarity
1 parent 8ac75e1 commit dd8df94

File tree

6 files changed

+10
-13
lines changed

6 files changed

+10
-13
lines changed

engine/render/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ $(renderBuildDir)/assets/shaders/%.spv: $(renderSrcDir)/assets/shaders/%
5353
# Copy Vulkan libraries to the build directory
5454
vulkan-libs:
5555
$(MKDIR) $(call platformpth, $(renderBuildDir)/lib)
56-
$(call COPY,$(vendorDir)/vulkan/lib,$(renderBuildDir)/lib,**)
56+
$(call COPY,$(vendorDir)/vulkan/lib,$(renderBuildDir)/lib,"$(RWCARDGLOB)")

examples/game/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,9 @@ $(exampleGameBinDir)/%.o: $(exampleGameSrcDir)/%.cpp
7070
# Copy assets directory to the build directory and pack them
7171
pack-assets:
7272
$(MKDIR) $(call platformpth, $(exampleGameBuildDir)/assets)
73-
$(call COPY,$(exampleGameSrcDir)/assets,$(exampleGameBuildDir)/assets,"$(WCARD)")
73+
$(call COPY,$(exampleGameSrcDir)/assets,$(exampleGameBuildDir)/assets,"$(RWCARDGLOB)")
7474
$(MKDIR) $(call platformpth,$(exampleGameBuildDir)/assets/shaders)
75-
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleGameBuildDir)/assets/shaders,"$(WCARD)")
76-
powershell Start-Sleep -Seconds 10.0
75+
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleGameBuildDir)/assets/shaders,"$(RWCARDGLOB)")
7776
$(packerApp) $(exampleGameBuildDir)/app.pck $(exampleGameBuildDir) $(exampleGameAssets)
7877
$(RM) $(call platformpth,$(exampleGameBuildDir)/assets)
7978

examples/render/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,9 @@ $(exampleRenderBinDir)/%.o: $(exampleRenderSrcDir)/%.cpp
6969
# Copy assets directory to the build directory and pack them
7070
pack-assets:
7171
$(MKDIR) $(call platformpth, $(exampleRenderBuildDir)/assets)
72-
$(call COPY,$(exampleRenderSrcDir)/assets,$(exampleRenderBuildDir)/assets,"$(WCARD)")
72+
$(call COPY,$(exampleRenderSrcDir)/assets,$(exampleRenderBuildDir)/assets,"$(RWCARDGLOB)")
7373
$(MKDIR) $(call platformpth,$(exampleRenderBuildDir)/assets/shaders)
74-
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleRenderBuildDir)/assets/shaders,"$(WCARD)")
75-
powershell Start-Sleep -Seconds 10.0
74+
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleRenderBuildDir)/assets/shaders,"$(RWCARDGLOB)")
7675
$(packerApp) $(exampleRenderBuildDir)/app.pck $(exampleRenderBuildDir) $(exampleRenderAssets)
7776
$(RM) $(call platformpth,$(exampleRenderBuildDir)/assets)
7877

examples/tilemap/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ $(exampleTilemapBinDir)/%.o: $(exampleTilemapSrcDir)/%.cpp
6868
# Copy assets directory to the build directory and pack them
6969
pack-assets:
7070
$(MKDIR) $(call platformpth, $(exampleTilemapBuildDir)/assets)
71-
$(call COPY,$(exampleTilemapSrcDir)/assets,$(exampleTilemapBuildDir)/assets,"$(WCARD)")
71+
$(call COPY,$(exampleTilemapSrcDir)/assets,$(exampleTilemapBuildDir)/assets,"$(RWCARDGLOB)")
7272
$(MKDIR) $(call platformpth,$(exampleTilemapBuildDir)/assets/shaders)
73-
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleTilemapBuildDir)/assets/shaders,"$(WCARD)")
74-
powershell Start-Sleep -Seconds 10.0
73+
$(call COPY,$(binDir)/engine/render/build/assets/shaders,$(exampleTilemapBuildDir)/assets/shaders,"$(RWCARDGLOB)")
7574
$(packerApp) $(exampleTilemapBuildDir)/app.pck $(exampleTilemapBuildDir) $(exampleTilemapAssets)
7675
$(RM) $(call platformpth,$(exampleTilemapBuildDir)/assets)
7776

make/Platform.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ifeq ($(OS), Windows_NT)
1111
platform := windows
1212
CXX ?= g++
1313
THEN := &&
14-
WCARD := *.*
14+
RWCARDGLOB := *.*
1515
PATHSEP := \$(BLANK)
1616
MKDIR = powershell -executionpolicy bypass $(scriptsDir)/mkdir.ps1
1717
RM = powershell -executionpolicy bypass $(scriptsDir)/rm.ps1
@@ -41,7 +41,7 @@ else
4141
endif
4242

4343
# Set UNIX macros
44-
WCARD := **
44+
RWCARDGLOB := **
4545
THEN := ;
4646
PATHSEP := /
4747
MKDIR := mkdir -p

tests/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ $(utestIncludeDir):
5050
# Copy the data directory to the build directory, and pack them
5151
test-data:
5252
$(MKDIR) $(call platformpth,$(testBuildDir)/data)
53-
$(call COPY,$(testSrcDir)/data,$(testBuildDir)/data,"$(WCARD)")
53+
$(call COPY,$(testSrcDir)/data,$(testBuildDir)/data,"$(RWCARDGLOB)")
5454
$(packerApp) $(testBuildDir)/app.pck $(testBuildDir) $(testAssets)

0 commit comments

Comments
 (0)