Changes in makefile [17f28a1:71876b9] in opengl-game


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    r17f28a1 r71876b9  
     1# CFLAGS are compiler flags and LIBFLAGS could be renamed LINKER_FLAGS
    12OS = $(shell uname)
    23CC = g++
    3 CFLAGS = -std=c++0x -Wall -pedantic -rdynamic
     4CFLAGS = -std=c++11 -Wall -pedantic -rdynamic
    45# -rdynamic is to generate debug info for dynamic symbols on debian-based
    56# systems (tested on Linux Mint)
     
    3334        $(CC) $^ $(DEP) $(CFLAGS) -o $@
    3435
     36VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_64
     37CFLAGS_VULKAN = -std=c++17 -I$(VULKAN_SDK_PATH)/include -Wall -pedantic
     38#LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan
     39LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib -lvulkan -lSDL2
     40
     41vulkangame: new-vulkan-game.cpp
     42        $(CC) $(CFLAGS_VULKAN) -o $@ $^ $(LIBFLAGS)
     43
    3544clean:
    3645        rm -f newgame
     
    3847        rm -f mygame
    3948        rm -f demo
     49        rm -f vulkangame
Note: See TracChangeset for help on using the changeset viewer.