Changeset cb6fabb in opengl-game for makefile


Ignore:
Timestamp:
May 1, 2021, 1:52:25 AM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
756162f
Parents:
4a777d2
git-author:
Dmitry Portnoy <dportnoy@…> (05/01/21 01:31:53)
git-committer:
Dmitry Portnoy <dportnoy@…> (05/01/21 01:52:25)
Message:

Update the build instructions and makefile to work with OSX again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    r4a777d2 rcb6fabb  
    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)
Note: See TracChangeset for help on using the changeset viewer.