diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5c2306a --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +export DESTDIR ?= /usr + +dirs = src gitto +install-dirs = $(addprefix install-,$(dirs)) +uninstall-dirs = $(addprefix uninstall-,$(dirs)) + +.PHONY: all $(dirs) install $(install-dirs) uninstall $(uninstall-dirs) + +all: $(dirs) +install: $(install-dirs) +uninstall: $(uninstall-dirs) + +$(dirs): + $(MAKE) -C $@/ + +$(install-dirs): install-%: + $(MAKE) -C $*/ install + +$(uninstall-dirs): uninstall-%: + $(MAKE) -C $*/ uninstall |