#===================================================================
#
#   Sample application makefile, common definitions for the WATCOM C
#   compiler environment
#===================================================================
.SUFFIXES:
.SUFFIXES: .res .rc .lst .obj .c .asm .hlp .itl .ipf
#===================================================================
# Default compilation macros for sample programs
#
# Compile switches  that are enabled
#

CFLAGS  = -d1 -D_Optlink=
CC      = WCC386 $(CFLAGS)

AFLAGS  = 
ASM     = MASM

LFLAGS  = DEBUG ALL
LINK    = WLINK  $(LFLAGS)

.obj.lst:
        wdisasm $*/l/s

.c.obj:
        $(CC) $*.c

.asm.obj:
    	$(ASM) $*.asm

.ipf.hlp:
   	ipfc $*.ipf /W3

.itl.hlp:
        cc -P $*.itl
        ipfc $*.i
        del $*.i

.rc.res:
        rc -r $*.rc
