# Word Acquisition Kinescope
# =    =           =
# MCooper
# PO Box 237
# St. David, AZ 85630-0237
# E-mail: thegrendel@theriver.com



GRLIB=\borlandc\bgi\borgr.lib
O=oscr.obj
G=gsetup.obj
S=scrn2.obj
C=cdnscrn.obj

#Note: Must create borgr.lib in \borlandc\bgi\ as follows
#tlib borgr +egavgaf.obj +tripf.obj +sansf.obj

wak.exe: wak.c wak.h scrn2.h oscr.obj gsetup.obj scrn2.obj cdnscrn.obj
     bcc -Ox -3 wak.c graphics.lib $(GRLIB) $(O) $(G) $(S) $(C)

cdnscrn.obj: cdnscrn.c cdnscrn.h
     bcc -Ox -3 -c cdnscrn.c graphics.lib $(GRLIB)

gsetup.obj: gsetup.c
     bcc -Ox -3 -c gsetup.c graphics.lib $(GRLIB)

oscr.obj: oscr.c oscr.h wak.h scrn2.h
     bcc -Ox -3 -c oscr.c graphics.lib $(GRLIB)

scrn2.obj: scrn2.c scrn2.h
     bcc -Ox -3 -c scrn2.c

copies: wak.c gsetup.c oscr.c wak.h oscr.h
    copy *.c *.bak
    copy *.h *.hb
    copy *.bat *.btk
    copy makefile makefile.bak

bu: wak.exe gsetup.obj oscr.obj wak.c makefile
    copy *.c b: /v
    copy *.h b: /v
    copy wak.exe b: /v
    copy makefile b: /v
    copy *.bat b: /v

brestore:
    copy b:*.c
    copy b:*.h
    copy b:makefile

crestore:
   copy *.bak *.c
   copy *.h *.hb
   copy makefile.bak makefile

clean:
    del *.obj
