Skip to content
Browse files

Add a toplevel Makefile

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
1 parent d1e543b commit 8a22ba6676b456e2e1e5f011c926532e13584b7a @dscho dscho committed Feb 23, 2010
Showing with 19 additions and 0 deletions.
  1. +19 −0 Makefile
View
19 Makefile
@@ -0,0 +1,19 @@
+# The default target of this Makefile is...
+all::
+
+uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
+
+ifeq ($(uname_S),Linux)
+ SUBDIR=nautilus
+endif
+ifeq ($(uname_S),Darwin)
+ SUBDIR=finder
+endif
+ifneq (,$(findstring MINGW,$(uname_S)))
+ SUBDIR=explorer
+endif
+
+TARGETS=all install uninstall install-user uninstall-user clean
+
+$(TARGETS)::
+ $(MAKE) -C $(SUBDIR) $@

0 comments on commit 8a22ba6

Please sign in to comment.
Something went wrong with that request. Please try again.