@@ -48,9 +48,9 @@ packagingFlags = $(ENV_VARS) --excludes "$(packagingExcludes)"
4848compileFlags += -I $(vendorDir ) /glfw/include -I $(vendorDir ) /glm -I $(vendorDir ) /freetype/include
4949linkFlags += -l render -l window -l resources -l utils
5050
51- .PHONY : all pack-assets
51+ .PHONY : all vulkan-libs pack-assets
5252
53- all : $(exampleTilemapApp ) pack-assets
53+ all : $(exampleTilemapApp ) vulkan-libs pack-assets
5454
5555# Link the object files and create an executable
5656$(exampleTilemapApp ) : $(renderLib ) $(exampleTilemapObjects )
@@ -72,9 +72,12 @@ pack-assets:
7272 $(MKDIR ) $(call platformpth,$(exampleTilemapBuildDir ) /assets/shaders)
7373 $(call COPY,$(binDir ) /engine/render/build/assets/shaders,$(exampleTilemapBuildDir ) /assets/shaders,$(RWCARDGLOB ) )
7474 $(packerApp ) $(exampleTilemapBuildDir ) /app.pck $(exampleTilemapBuildDir ) $(exampleTilemapAssets )
75- $(RM ) $(call platformpth,$(exampleTilemapBuildDir ) /assets)
7675
7776# Package the built application and all its assets to the output directory
7877package :
7978 $(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