summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2009-12-31 10:36:02 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2009-12-31 10:36:02 +0200
commitb95d5e2079786e8435f6afc176b3b8b80043b868 (patch)
tree1883cae288fff133b969d4cd4f34b3675bb65621 /Makefile
parent9504f0418dd0f3a9e6dff6034ffe36196c473a06 (diff)
downloadlibresourceqt-b95d5e2079786e8435f6afc176b3b8b80043b868.tar.gz
Added Makefiles to build the project
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 27 insertions, 0 deletions
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