Changeset 754cf5a in opengl-game for makefile


Ignore:
Timestamp:
Jun 30, 2019, 8:10:49 PM (6 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
a8c958b
Parents:
972aca1 (diff), 71876b9 (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.
Message:

Merge branch 'master' of medievaltech.com:opengl-game

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    r972aca1 r754cf5a  
     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.