# Author: Brad Clements, bkc@omnigate.clarkson.edu   
# 1/28/89
# This makefile requires using the make program that comes w/ turbo C 2.0
# assumes you are using masm, not tasm. Change the -E of cflags if you want
# also assumes tlink 
#
OPT=
INCLUDES=
CFLAGS = $(INCLUDES) $(OPT)
MFLAGS=/MX /T
LIBFLAGS=-c
CC = wcc386p
LIB = wlib

OBJS= open.obj mouse.obj vesa.obj

GLUELIB=glue.lib

BIND=c:\os386\bind\bind
KERNEL=c:\os386\os386.exe
LOADER=pglue\load.exe

all: $(GLUELIB)

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

$(GLUELIB): $(OBJS)
	$(LIB) $(LIBFLAGS) -n glue +$(OBJS)

clean:
	rm -f *.err *.lst *.obj *.bak $(GLUELIB)
