summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/qtruby/app-Makefile
blob: 13da28474e048136fb04bc3d1765b11530efe150 (plain)
1
2
3
4
5
6
7
uis := $(wildcard *.ui)

all: $(uis)
	@for name in $^; do rbuic $$name > `echo $$name | awk -F '\\\.ui$' '{ print $$1 }' 2> /dev/null`.rb; echo "Running rbuic on $$name"; done

clean: $(uis)
	@for name in $^; do rm -f `echo $$name | awk -F '\\\.ui$' '{ print $$1 }' 2> /dev/null`.rb; done