Split the actual "Main()" procedure into main.cs.
[versaplex.git] / wvdotnet / rules.mk
blob506680339fda3dbeb811d012c32052aa8df5eff5
1 default: all
3 FORCE:
6 define make_subdir
7 @echo
8 @echo "--> Making $(if $2,$2 in )$(if $1,$1,$@)..."
9 @+$(MAKE) -C $(if $1,$1,$@) --no-print-directory $3 $2
10 endef
12 %: %/Makefile
13 $(make_subdir)
15 %/clean: %/Makefile
16 $(call make_subdir,$*,clean)
18 %/test: %/Makefile
19 $(call make_subdir,$*,test)
21 %/tests: %/Makefile
22 $(call make_subdir,$*,tests)
24 %/all: %/Makefile
25 $(call make_subdir,$*,all)