# @(#)38        1.3  src/examples/xdsxom/makefile.bor, examples.src, os2dce21.dss, 960602a.1  3/12/96  17:40:56
#
#/********************************************************************
# COMPONENT_NAME:  examples.src
#
# FUNCTIONS: makefile for XDSXOM sample application [Borland C++ 2.00] [HPFS]
#
# ORIGINS: 27
#
# (C) COPYRIGHT International Business Machines Corp. 1995
#  All Rights Reserved
#  Licensed Materials - Property of IBM
#
#  US Government Users Restricted Rights - Use, duplication or
#  disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
#
#********************************************************************/

# See README.EXAMPLES in order to configure the Examples command files.
!INCLUDE <DCE_DIRS>

WORK_SPACE = /stack:65536

PROG        = add_list.exe cds_xmpl.exe example.exe teldir2.exe thradd.exe

all: $(PROG)

.c.obj:
  $(CC) @$(STEM)\cflags.bor $(INCL_FLAGS) $*.c

.obj.exe:
  $(LD) $(LDFLAGS) $(WORK_SPACE) $(IBMC_lib)\c02 $*.obj, $*.exe, $*.map, $(LDLIBS);

add_list.obj: add_list.c add_list.h
cds_xmpl.obj: cds_xmpl.c cds_xmpl.h
example.obj : example.c  example.h
teldir2.obj : teldir2.c
thradd.obj  : thradd.c   thradd.h

clean:
    -del *.obj *.map

rmtarget:
    -del $(PROG)

clobber: clean rmtarget
