# Makefile for TVIEW.EXE
MDL=c
BIN=.
!include ..\srcpath

all: $(C0X) $(CX).LIB $(BIN)\tview.exe

$(BIN)\tview.exe: tview.obj
 $(LC) $(LFLAGS) @<<
Name $@
File { $(C0X) tview.obj }
Library $(CX).LIB
OPtion NODefaultlibs
OPtion NOCaseexact
System DOS
<<
 @del *.obj

$(C0X):
 $(AC) -D__$(MDL)__ -Fo$(C0X) $(LIBDIR)\startup\c0.asm

$(CX).LIB:
 @cd ..\clib
 $(MK) MDL=$(MDL) CFG=/D__NOZ__
 @cd ..\tview

clean:
 del tview.obj
 del tview.exe
 del $(C0X)
 del $(CX).LIB





