2 MCS_FLAGS = --target exe
7 -rm -rf $(PROGRAM) .response-exe .makefrag-exe
9 .response-exe: $(PROGRAM_LIST)
10 cat $^ |egrep '\.cs$$' >$@
12 .makefrag-exe: $(PROGRAM_LIST)
13 echo -n "program-deps: " >$@.new
14 cat $^ |egrep '\.cs$$' | sed -e 's,\.cs,.cs \\,' >>$@.new
15 cat $@.new |sed -e '$$s, \\$$,,' >$@
18 -include .makefrag-exe
20 $(PROGRAM): .response-exe .makefrag-exe #program-deps
21 $(MCS) $(MCS_FLAGS) -o $(PROGRAM) $(PROGRAM_FLAGS) @.response-exe