forked from pyrite-dev/milsko
vulkan: mingw support
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@119 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
ee16da54bd
commit
cc9a63b67e
4 changed files with 53 additions and 10 deletions
|
|
@ -1,12 +1,18 @@
|
|||
# $Id$
|
||||
|
||||
ifeq ($(TARGET),)
|
||||
TARGET = $(shell uname -s)
|
||||
endif
|
||||
|
||||
ifeq ($(CC),)
|
||||
CC = gcc
|
||||
endif
|
||||
|
||||
CFLAGS = -Wall -Wextra -Iinclude
|
||||
LDFLAGS =
|
||||
LIBS =
|
||||
ifeq (${DEBUG},1)
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
|
||||
|
|
@ -32,6 +38,7 @@ UNIX = 1
|
|||
VULKAN = 1
|
||||
else ifeq ($(TARGET),Windows)
|
||||
WINDOWS = 1
|
||||
VULKAN = 1
|
||||
else
|
||||
$(error Add your platform definition)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue