#
# DEC C  (author: Arne Vajhøj / july 1994)
#

var=vms
# var=tp
# var=std
cflags=/nolist/prefix=all # AXP
# cflags=/decc/nolist/prefix=all # VAX

all             : nice_$(var).exe

nice_$(var).exe : main.obj code.obj nice_$(var).obj scan.obj
                     link/nomap/exe=nice_$(var) main+code+scan_$(var)+nice_$(var)

main.obj        : main.c glob.h
                     cc$(cflags) main.c

code.obj        : code.c glob.h
                     cc$(cflags) code.c

scan.obj        : scan_$(var).c nice_$(var).h glob.h
                     copy nice_$(var).h nice.h
                     cc$(cflags) scan_$(var).c         
                     delete nice.h;*

nice_$(var).obj : nice_$(var).c glob.h
                     cc$(cflags) nice_$(var).c

