RUNTIME=mono MCS = $(RUNTIME) ../mcs/mcs.exe MCS_FLAGS = /target:exe $(MCS_DEFINES) INSTALL = /usr/bin/install prefix = /usr SOURCES=monoresgen.cs all: monoresgen.exe monoresgen.exe: $(SOURCES) $(MCS) $(MCS_FLAGS) -o $@ $(SOURCES) install: all mkdir -p $(prefix)/bin/ $(INSTALL) -m 755 monoresgen.exe $(prefix)/bin/ test: clean: rm -f monoresgen.exe