vulkan: mingw support

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@119 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
IoIxD
2025-10-01 22:52:00 +00:00
parent ee16da54bd
commit cc9a63b67e
4 changed files with 53 additions and 10 deletions

View File

@@ -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