This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add a toplevel Makefile

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
dscho committed Feb 23, 2010
1 parent d1e543b commit 8a22ba6676b456e2e1e5f011c926532e13584b7a
Showing with 19 additions and 0 deletions.
  1. +19 −0 Makefile
View
@@ -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.