# --------------------------------------------------------------------------
#
#      4r  use 80486 timings and register argument passing
#       c  compile only
#      d1  include line number debugging information
#      d2  include full sybolic debugging information
#      ei  force enums to be of type int
#       j  change char default from unsigned to signed
#      oa  relax aliasing checking
#      od  do not optimize
#  oe[=#]  expand functions inline, # = quads (default 20)
#      oi  use the inline library functions
#      om  generate inline 80x87 code for math functions
#      ot  optimize for time
#      ox  maximum optimization
#       s  remove stack overflow checks
#     zp1  align structures on bytes
#      zq  use quiet mode
#  /i=dir  add include directories
#
# --------------------------------------------------------------------------

LINK_OPTIONS =
#COMPILE_OPTIONS = /omaxet /zp1 /4r /ei /j /w4
COMPILE_OPTIONS = /os /zp1 /4r /ei /j /w4

OBJS =       &
 acc.obj     &
 error.obj   &
 misc.obj    &
 parse.obj   &
 pcode.obj   &
 strlist.obj &
 symbol.obj  &
 token.obj

acc.exe : $(OBJS)
 wlink $(LINK_OPTIONS) @acc.lnk

.c.obj :
 wcc386 $(COMPILE_OPTIONS) $[*
