# @(#)53        1.7  src/examples/pubsex/prime/makefile.wat, examples.src, os2dce21.dss, 960602a.1  1/10/96  16:57:51
#
#/********************************************************************
# COMPONENT_NAME:  examples.src
#
# FUNCTIONS: makefile for PRIME sample application [Watcom] [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 $(%STEM)\DCE_DIRS.wat

# inference rules
.c.obj:
    $(CC) $(CFLAGS) $*.c

all: prime.exe

prime.obj: prime.c

WORKSPACE = OPTION STACK=120k OPTION HEAPSIZE=64k
PRIME = FILE prime.obj
prime.exe: prime.obj
    $(LD) $(LDFLAGS) $(PRIME) NAME $*.exe $(WORKSPACE) OPTION MAP=$*.map LIBRARY $(LDLIBS)

clean:
    -del *.obj *.map *.err

rmtarget:
    -del *.exe

clobber:
    -del *.obj *.map *.err
    -del *.exe

