Changeset 756162f in opengl-game for makefile


Ignore:
Timestamp:
May 1, 2021, 6:26:44 PM (3 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
9d21aac
Parents:
b8072d3 (diff), cb6fabb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Dmitry Portnoy <dportnoy@…> (05/01/21 18:26:23)
git-committer:
Dmitry Portnoy <dportnoy@…> (05/01/21 18:26:44)
Message:

Merge branch 'feature/imgui-sdl' of medievaltech.com:opengl-game into feature/imgui-sdl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    rb8072d3 r756162f  
    3030        $(CC) $^ $(DEP) $(CXX_FLAGS) -o $@ -DGLEW_STATIC
    3131
    32 ifeq ($(OS),Darwin)
    33         VULKAN_SDK_PATH = /Users/dportnoy15/Development/vulkan-sdk-macos-1.1.108.0/macOS
    34 endif
    35 ifeq ($(OS),Linux)
    36         VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_64
    37 endif
    38 
    39 LIB_PATHS =  -I$(VULKAN_SDK_PATH)/include
    40 ifeq ($(OS),Darwin)
    41         LIB_PATHS := -Wl,-rpath,$(VULKAN_SDK_PATH)/lib $(LIB_PATHS)
    42 endif
    43 ifeq ($(OS),Linux)
    44         LIB_PATHS =
    45 endif
    46 
    4732LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf`
    4833ifeq ($(OS),Darwin)
    49         LIBS := $(VULKAN_SDK_PATH)/lib/libvulkan.dylib $(LIBS)
     34        LIBS := -lvulkan $(LIBS)
    5035endif
    5136ifeq ($(OS),Linux)
     
    8974.PHONY: shaders
    9075shaders:
    91         cd shaders && ../compile.sh && cd ..
     76        ./compile.sh
    9277
    9378clean:
Note: See TracChangeset for help on using the changeset viewer.