2003-07-02 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / nant / makefile.gnu
1 topdir=..
2 MCS = ../mcs/mcs.exe
3 MCS_FLAGS = /target:exe $(MCS_DEFINES)
4 INSTALL = /usr/bin/install
5 prefix = /usr
6 RUNTIME=mono
7 MONO_PATH_PREFIX=$(topdir)/class/lib:
8
9 all: nant.exe
10
11 nant.exe: makefile.gnu src/*.cs src/Attributes/*.cs src/Tasks/*.cs src/Util/*.cs
12         MONO_PATH=$(MONO_PATH_PREFIX)$(MONO_PATH) $(RUNTIME) $(MCS) $(MCSFLAGS) /out:nant.exe /recurse:*.cs
13
14 install: all
15         mkdir -p $(prefix)/bin/
16         $(INSTALL) -m 755 nant.exe $(prefix)/bin/
17
18 clean:
19         rm -f nant.exe