# -*- makefile -*-
#
# Copyright (C)2000-2002 Jacques H. de Villiers <Jacques@deVilliers.com>
# Copyright (C)2000-2002 Center for Spoken Language Understanding,
#                        OGI School of Science & Engineering,
#                        Oregon Health & Science University
#
# See the file license.ogi for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# --------------------------------------------------------------------------

CSLU="C:/program files/cslu/toolkit/2.0"
CC=cl
RM=del
LINK=link

all: ccontrol.exe sayit.exe

ccontrol.exe: main.obj
	$(LINK) /OUT:$@ /LIBPATH:$(CSLU)/lib csluControl.lib main.obj

sayit.exe: sayit.obj
	$(LINK) /OUT:$@ /LIBPATH:$(CSLU)/lib csluControl.lib sayit.obj

clean:
	$(RM) *.obj *.exe

.c.obj:
	$(CC) -c /I$(CSLU)/include $<
