summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/qtrubyapp/app-Makefile
blob: 88b5556effe298870b7790eea3cbc13aa31f5aca (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