#/*
# * Bernoulli Compiler
# * Copyright (c) Cornell University
# * Department of Computer Science
# * 
# * Kamen Yotov (kamen@yotov.org)
# * 
# * $Source: C:/CVS/kyotov/kyotov/Research/BC/Core/makefile,v $
# * $Revision: 1.3 $
# * $Date: 2002/10/23 06:06:43 $
# */

NAME = Omega

!INCLUDE "..\makefile.mak"

!IF EXIST(sources.lst)
SOURCES = \
!INCLUDE "sources.lst"

!ENDIF

build: 
	dir *.cs /s /b | $(FILTER) ".*" "  {0} \\" > sources.lst
	nmake /NOLOGO $(D)\Omega.dll
	del sources.lst
	
$(D)\Omega.dll: $(SOURCES)  $(D)\OmegaLIB.dll
	$(CSC) $(CSCFlags) /unsafe /target:library /out:$@ $(SOURCES)

!INCLUDE "..\copy.mak"
