#
#   This Borland makefile is used to build the NOISE.EXE program.
#
#   Written by Jim Curry
#   28 June 1992
#

ASM     = tasm
CC      = bcc
LINK    = tlink
INCLUDE = c:\borlandc\include

MODEL   = l

LIBS    = math$(MODEL) c$(MODEL) emu graphics
CFLAGS  = -Z -O -v -w -C -c -m$(MODEL) -I$(INCLUDE)
AFLAGS  = /mx
LFLAGS  = /c /s /v /Lc:\borlandc\lib

DPND    = makefile           # Rebuild if modified

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

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

# Dependenties MUST agree with SCUJC.LNK, linker response file.

noise.exe:      main.obj
    $(LINK) $(LFLAGS) c:\borlandc\lib\c0$(MODEL) @$*.lnk, $*.exe, $*.map, $(LIBS) 

main.obj:      main.c $(DPND)
