diff options
| author | 2012-08-15 00:24:32 +0200 | |
|---|---|---|
| committer | 2012-08-15 00:24:32 +0200 | |
| commit | 5769114042ec60274d48cb3794c00348ca22da66 (patch) | |
| tree | 5c374cb13831cb04104d597a1b2c2461d11c0ed7 /Makefile | |
| parent | 50dc2da0b1710e6f93ffbbfca0db7e9f937a3d8a (diff) | |
| download | undone-5769114042ec60274d48cb3794c00348ca22da66.tar.gz undone-5769114042ec60274d48cb3794c00348ca22da66.zip | |
Add Makefiles and others
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..2642b70 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +export DESTDIR ?= /usr + +dirs = src undone +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 |
