############################################################################
#
#                   Copyright (C) 1998 SciTech Software.
#                           All rights reserved.
#
# Descripton:   Makefile script to build the Nucleus simple SDK program.
#
#############################################################################

#----------------------------------------------------------------------------
# DOS extender dependant flags
#----------------------------------------------------------------------------

CFLAGS      += $(DX_CFLAGS)
ASFLAGS     += $(DX_ASFLAGS)

#----------------------------------------------------------------------------
# Define the lists of object files
#----------------------------------------------------------------------------

GA_OBJS     = gasdk$O vgapal$O gtfcalc$O

#----------------------------------------------------------------------------
# Find the name of the library file to build
#----------------------------------------------------------------------------

OBJECTS     = $(GA_OBJS)
.IF $(STKCALL)
LIBFILE     = $(LP)sn_ga$L
.ELSE
LIBFILE     = $(LP)n_ga$L
.ENDIF

LIBCLEAN    = *.lib *.a *.dll

#----------------------------------------------------------------------------
# Default target to build the library file
#----------------------------------------------------------------------------

all: $(LIBFILE)

#----------------------------------------------------------------------------
# Define the list of object files to create dependency information for
#----------------------------------------------------------------------------

DEPEND_OBJ      = $(GA_OBJS)
DEPEND_INC      = $(SCITECH)\include\nucleus

.INCLUDE: "$(SCITECH)/makedefs/common.mk"

