From b95d5e2079786e8435f6afc176b3b8b80043b868 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Thu, 31 Dec 2009 10:36:02 +0200 Subject: Added Makefiles to build the project --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7e9ea9a --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +QMAKE = qmake +MAKEFILE = libresourceqt.make +LIB = build/libresourceqt.so.1.0.0 + +%.make: %.pro + $(QMAKE) -o $@ $< + +clean: $(MAKEFILE) + $(MAKE) -f $(MAKEFILE) clean + cd tests; $(MAKE) clean + $(RM) $(MAKEFILE) + $(RM) -r build + +all: $(MAKEFILE) + $(MAKE) -f $(MAKEFILE) all + cd tests; $(MAKE) all + +install: $(MAKEFILE) + $(MAKE) -f $(MAKEFILE) install + cd tests; $(MAKE) install + +tests: force + cd tests; $(MAKE) tests + +force: ; + +.phony: clean all install tests -- cgit v1.2.3