Changeset 03f4c64 in opengl-game for makefile


Ignore:
Timestamp:
Jun 25, 2019, 4:11:21 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
71876b9
Parents:
9d4456b
Message:

Create an initial program and makefile config that uses Vulkan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    r9d4456b r03f4c64  
    11OS = $(shell uname)
    22CC = g++
    3 CFLAGS = -std=c++0x -Wall -pedantic -rdynamic
     3CFLAGS = -std=c++11 -Wall -pedantic -rdynamic
    44# -rdynamic is to generate debug info for dynamic symbols on debian-based
    55# systems (tested on Linux Mint)
     
    3333        $(CC) $^ $(DEP) $(CFLAGS) -o $@
    3434
     35VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_64
     36CFLAGS_VULKAN = -std=c++17 -I$(VULKAN_SDK_PATH)/include -Wall -pedantic
     37LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan
     38
     39vulkangame: vulkan-game.cpp
     40        $(CC) $(CFLAGS_VULKAN) -o $@ $^ $(LIBFLAGS)
     41
    3542clean:
    3643        rm -f newgame
     
    3845        rm -f mygame
    3946        rm -f demo
     47        rm -f vulkangame
Note: See TracChangeset for help on using the changeset viewer.