# Copyright (c) 1992 Microsoft Corporation. All rights reserved.

# This line allows NMAKE to work as well

all: prndrv.exe



# Defines

OBJS = main.obj  init.obj   mainwnd.obj   about.obj  copy.obj 
LIBS = libw mlibcew




# Rules

.c.obj:
    cl -c -AM -W3 -Gsw -Od -Zipe -NT _$* $*.c
        



# Update the resource if necessary

prndrv.res: prndrv.rc 
    rc -r prndrv.rc



# Update the object files if necessary

main.obj:       main.c      prndrv.h   init.h    globals.h
mainwnd.obj:    mainwnd.c   mainwnd.h  about.h   globals.h    
init.obj:       init.c      init.h     mainwnd.h globals.h
about.obj:      about.c     about.h
copy.obj:       copy.c

# Update the executable file if necessary, and if so, add the resource back in.

prndrv.exe:  $(OBJS) prndrv.def prndrv.res
   link /co /NOD @<<prndrv.lrf
$(OBJS: = +^
)
prndrv.exe
prndrv.map
$(LIBS)
prndrv.def
<<KEEP
    rc prndrv.res

