#
# This is the makefile for tn3270's ascii library.
# It may be called on its own to just create and install this library,
# or it may be called from above by the master makefile.
#

# First we include the general definitions
!include "..\..\gendefs"

# The ascii library and its dependancies

ASCII		= $(3270LIBDIR)\ascii.lib
ASCII_SRC	= termin.c
ASCII_OBJ	= termin.obj

all: $(ASCII)

clean:
   	-del *.obj
   	-del $(ASCII)

$(ASCII): $(ASCII_OBJ)

.c.obj:
        $(CC) $(CCOPTS) $(3270FLAGS) {$*.c }
	&$(LIB) $(ASCII) $(LIBFLAGS) $*

.asm.obj:
	$(ASM) {$(AFLAGS) $<*.asm }
	&$(LIB) $(ASCII) $(LIBFLAGS) $*


