[gitg] Convenient makefiles to build single components
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Convenient makefiles to build single components
- Date: Sat, 4 Jan 2014 15:32:17 +0000 (UTC)
commit 107896381db1893398494a2c5a4da1da5901adb3
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Jan 4 16:31:29 2014 +0100
Convenient makefiles to build single components
gitg/Makefile | 2 ++
libgitg-ext/Makefile | 2 ++
libgitg/Makefile | 2 ++
plugins/Makefile | 2 ++
plugins/diff/Makefile | 2 ++
plugins/files/Makefile | 2 ++
sub.mk | 7 +++++++
tests/Makefile | 2 ++
tests/libgitg/Makefile | 2 ++
9 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/gitg/Makefile b/gitg/Makefile
new file mode 100644
index 0000000..08c8f5d
--- /dev/null
+++ b/gitg/Makefile
@@ -0,0 +1,2 @@
+TARGETS = gitg/gitg
+include ../sub.mk
diff --git a/libgitg-ext/Makefile b/libgitg-ext/Makefile
new file mode 100644
index 0000000..4606322
--- /dev/null
+++ b/libgitg-ext/Makefile
@@ -0,0 +1,2 @@
+TARGETS = libgitg-ext/libgitg-ext-1.0.la
+include ../sub.mk
diff --git a/libgitg/Makefile b/libgitg/Makefile
new file mode 100644
index 0000000..4a05daf
--- /dev/null
+++ b/libgitg/Makefile
@@ -0,0 +1,2 @@
+TARGETS = libgitg/libgitg-1.0.la
+include ../sub.mk
diff --git a/plugins/Makefile b/plugins/Makefile
new file mode 100644
index 0000000..a9c0074
--- /dev/null
+++ b/plugins/Makefile
@@ -0,0 +1,2 @@
+TARGETS = plugins/diff/libdiff.la plugins/files/libfiles.la
+include ../sub.mk
diff --git a/plugins/diff/Makefile b/plugins/diff/Makefile
new file mode 100644
index 0000000..f0efd47
--- /dev/null
+++ b/plugins/diff/Makefile
@@ -0,0 +1,2 @@
+TARGETS = plugins/diff/libdiff.la
+include ../../sub.mk
diff --git a/plugins/files/Makefile b/plugins/files/Makefile
new file mode 100644
index 0000000..868036d
--- /dev/null
+++ b/plugins/files/Makefile
@@ -0,0 +1,2 @@
+TARGETS = plugins/files/libfiles.la
+include ../../sub.mk
diff --git a/sub.mk b/sub.mk
new file mode 100644
index 0000000..b0ff448
--- /dev/null
+++ b/sub.mk
@@ -0,0 +1,7 @@
+THIS_FILENAME = $(lastword $(MAKEFILE_LIST))
+THIS_DIR = $(dir $(THIS_FILENAME))
+
+all:
+ $(MAKE) -C $(THIS_DIR) $(TARGETS)
+
+.PHONY: all
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..d8d1086
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,2 @@
+TARGETS = tests/diff-view tests/progress-bin tests/repository-list-box tests/libgitg/test-libgitg
+include ../sub.mk
diff --git a/tests/libgitg/Makefile b/tests/libgitg/Makefile
new file mode 100644
index 0000000..36c0fbe
--- /dev/null
+++ b/tests/libgitg/Makefile
@@ -0,0 +1,2 @@
+TARGETS = tests/libgitg/test-libgitg
+include ../../sub.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]