# @(#)40        1.4  src/examples/xdsxom/makefile.vc3, examples.src, os2dce21.dss, 960602a.1  3/12/96  17:41:03
#
#/********************************************************************
# COMPONENT_NAME:  examples.src
#
# FUNCTIONS: makefile for XDSXOM sample application [Visual Age C++ 3.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) $(CFLAGS) $*.c

.obj.exe:
  $(LD) $(LDFLAGS) $(WORKSPACE) $*.obj /O:$*.exe $(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

