blob: 20ae9ef0e12c823b6917f39a8a6ada235f15bdd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
QMAKE = qmake
MAKEFILES = $(patsubst %.pro,%.make,$(wildcard *.pro))
MAKEOVERRIDES =
%.make: %.pro
$(QMAKE) -o $@ $<
tests: all
find build -type f -name 'test-*' -exec sh -c "if test -x {}; then {}; fi" \;
clean:
$(RM) $(MAKEFILES)
$(RM) -r build
all: $(MAKEFILES)
for makefile in $(MAKEFILES); do $(MAKE) -f "$$makefile" all; done
install: $(MAKEFILES)
for makefile in $(MAKEFILES); do $(MAKE) -f "$$makefile" install; done
.phony: install tests all clean
|