summaryrefslogtreecommitdiff
path: root/Makefile
blob: 80063bcd11cb958f1dd7a39da7cae153637a3f09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
QMAKE = qmake
MAKEFILE = libresourceqt.make
LIB = build/libresourceqt.so.1.0.0

%.make: %.pro
	$(QMAKE) -o $@ $<

all: $(MAKEFILE)
	$(MAKE) -f $(MAKEFILE) all
	cd tests; $(MAKE) all

clean:
	$(RM) $(MAKEFILE)
	$(RM) -r build	
	cd tests; $(MAKE) clean

install: $(MAKEFILE)
	$(MAKE) -f $(MAKEFILE) install
	cd tests; $(MAKE) install
	
tests: force
	cd tests; $(MAKE) tests

force: ;

.phony: clean all install tests