Refactor to use the host triplet instead of CONFIG_TARGET

This commit is contained in:
Hamish Coleman
2023-07-03 02:51:20 +08:00
parent 59ecadcab2
commit 1e8a085f1e
2 changed files with 3 additions and 15 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ DEBUG?=-g3
HEADERS=$(wildcard include/*.h)
CFLAGS+=-I../include
ifeq ($(CONFIG_TARGET),mingw)
ifneq (,$(findstring mingw,$(CONFIG_HOST_OS)))
CFLAGS+=-I../win32
endif
CFLAGS+=$(DEBUG)