makefile.gnu 535 B

1234567891011121314151617181920212223242526
  1. topdir = ../../..
  2. LIBRARY = corlib_test.dll
  3. LIB_LIST = corlib_test.args
  4. LIB_FLAGS = \
  5. -r $(topdir)/class/lib/corlib.dll \
  6. -r $(topdir)/class/lib/System.dll \
  7. -r $(topdir)/nunit20/NUnit.Framework.dll
  8. SOURCES_INCLUDE=*.cs
  9. SOURCES_EXCLUDE=_DUMMY_
  10. include $(topdir)/class/library.make
  11. MCS_FLAGS = --target library --noconfig
  12. NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
  13. MONO_PATH = $(topdir)/nunit20:.
  14. test: $(LIBRARY) run_test
  15. .PHONY: run_test
  16. run_test:
  17. -MONO_PATH=$(MONO_PATH) mono $(NUNITCONSOLE) corlib_test.dll