# Conflicts:
#	build-windows/generate_code.cmd
pull/64/head
Thomas 2021-11-11 10:31:17 +01:00
commit 2d22fee78a
2 changed files with 14 additions and 0 deletions

View File

@ -87,6 +87,7 @@ endif
# Are we wiping this on purpose?
LDLIBS=
# Define compiler.
ifeq ($(BUILD_FOR),OS/390)
CC=xlclang
else ifeq ($(BUILD_FOR),Linux)
@ -95,6 +96,16 @@ else ifeq ($(BUILD_FOR),Darwin)
CC=clang
endif
# Define platform-identification feature macros.
ifeq ($(BUILD_FOR),Linux)
CPPFLAGS+= -DUNIX
else ifeq ($(BUILD_FOR),Darwin)
CPPFLAGS+= -DUNIX -DDARWIN
else ifeq ($(BUILD_FOR),OS/390)
CPPFLAGS+= -DZOS
endif
# Add platform-specific compilation options.
ifeq ($(BUILD_FOR),OS/390)
CFLAGS= -Wno-gnu-include-next -qnosearch -I$(HERE) -I.
CFLAGS+= -I/usr/include

View File

@ -17,6 +17,9 @@ IF NOT EXIST "%ProgramData%\pEp" "MKDIR %ProgramData%\pEp"
DEL "%ProgramData%\pEp\system.db"
MOVE system.db "%ProgramData%\pEp\system.db"
:: Generate code in ...\pEpEngine\codegen
CD ..\codegen
:: Make sure YML2 is installed
PY -m pip install --upgrade pip
PY -m pip install wheel