view components/osx @ 41:58b05205d579

components/misc_{fl,ir}: no dependency on $MEMSUPER
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Oct 2020 08:57:26 +0000
parents e58a5bb12de4
children
line wrap: on
line source

# Building osx.lib from our reconstructed osx.c source

CFLAGS="-mw -x -pw2 -o -me -mt -g -mn"

# Defines

CPPFLAGS="-D_TARGET_ -D_NUCLEUS_"

if [ "$MEMSUPER" != 0 ]
then
	CPPFLAGS="$CPPFLAGS -DMEMORY_SUPERVISION"
fi

# Includes

CPPFLAGS="$CPPFLAGS -I$SRC/gpf/frame/cust_os"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc"
CPPFLAGS="$CPPFLAGS -I$SRC/gpf/inc/nuc"

# Source modules

SRCDIR=$SRC/gpf/frame/cust_os

cfile_symlink $SRCDIR/osx.c