mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-25 20:01:07 +00:00
minor update to os2 makefile.
This commit is contained in:
parent
8d14e6ea44
commit
b6d40b29a9
|
@ -10,6 +10,8 @@ VERSION = 2.0.19
|
||||||
DESCRIPTION = Simple DirectMedia Layer 2
|
DESCRIPTION = Simple DirectMedia Layer 2
|
||||||
|
|
||||||
LIBICONV=0
|
LIBICONV=0
|
||||||
|
# iconv.lib or iconv2.lib:
|
||||||
|
ICONVLIB=iconv.lib
|
||||||
|
|
||||||
LIBHOME = .
|
LIBHOME = .
|
||||||
DLLFILE = $(LIBHOME)/$(LIBNAME).dll
|
DLLFILE = $(LIBHOME)/$(LIBNAME).dll
|
||||||
|
@ -19,7 +21,7 @@ LNKFILE = $(LIBNAME).lnk
|
||||||
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
||||||
INCPATH+= -Iinclude
|
INCPATH+= -Iinclude
|
||||||
|
|
||||||
LIBM = libm.lib
|
LIBM = SDL2libm.lib
|
||||||
LIBS = mmpm2.lib $(LIBM)
|
LIBS = mmpm2.lib $(LIBM)
|
||||||
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
||||||
# max warnings:
|
# max warnings:
|
||||||
|
@ -31,7 +33,7 @@ CFLAGS+= -bd
|
||||||
# iconv:
|
# iconv:
|
||||||
!ifeq LIBICONV 1
|
!ifeq LIBICONV 1
|
||||||
CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
|
CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
|
||||||
LIBS+= iconv.lib
|
LIBS+= $(ICONVLIB)
|
||||||
!else
|
!else
|
||||||
LIBS+= libuls.lib libconv.lib
|
LIBS+= libuls.lib libconv.lib
|
||||||
!endif
|
!endif
|
||||||
|
|
Loading…
Reference in a new issue