@@ -48,9 +48,9 @@ packagingFlags = $(ENV_VARS) --excludes "$(packagingExcludes)"
48
48
compileFlags += -I $(vendorDir ) /glfw/include -I $(vendorDir ) /glm -I $(vendorDir ) /freetype/include
49
49
linkFlags += -l render -l window -l resources -l utils
50
50
51
- .PHONY : all pack-assets
51
+ .PHONY : all vulkan-libs pack-assets
52
52
53
- all : $(exampleTilemapApp ) pack-assets
53
+ all : $(exampleTilemapApp ) vulkan-libs pack-assets
54
54
55
55
# Link the object files and create an executable
56
56
$(exampleTilemapApp ) : $(renderLib ) $(exampleTilemapObjects )
@@ -72,9 +72,12 @@ pack-assets:
72
72
$(MKDIR ) $(call platformpth,$(exampleTilemapBuildDir ) /assets/shaders)
73
73
$(call COPY,$(binDir ) /engine/render/build/assets/shaders,$(exampleTilemapBuildDir ) /assets/shaders,$(RWCARDGLOB ) )
74
74
$(packerApp ) $(exampleTilemapBuildDir ) /app.pck $(exampleTilemapBuildDir ) $(exampleTilemapAssets )
75
- $(RM ) $(call platformpth,$(exampleTilemapBuildDir ) /assets)
76
75
77
76
# Package the built application and all its assets to the output directory
78
77
package :
79
78
$(RM ) " $( outputDir) /$( exampleTilemapOutputName) "
80
- $(call PACKAGE_SCRIPT, $(exampleTilemapOutputName ) , $(call BASENAME, $(exampleTilemapApp ) ) , $(outputDir ) , $(exampleTilemapBuildDir ) , $(packagingFlags ) )
79
+ $(call PACKAGE_SCRIPT, $(exampleTilemapOutputName ) , $(call BASENAME, $(exampleTilemapApp ) ) , $(outputDir ) , $(exampleTilemapBuildDir ) , $(packagingFlags ) )
80
+
81
+ # Copy Vulkan libraries to the build directory
82
+ vulkan-libs :
83
+ $(call COPY_VULKAN,$(vendorDir ) ,$(exampleTilemapBuildDir ) )
0 commit comments