From 8fbf0baee6a6b82876d43cef4abc34d021252d25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Nov 2017 06:12:14 +0000 Subject: add Makefile --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2a3461a --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +SUBDIRS = +DESTDIR = +UBINDIR ?= /usr/bin +ULIBDIR ?= /usr/lib/vasile + +all: + for d in $(SUBDIRS); do $(MAKE) -C $$d; done + +clean: + for d in $(SUBDIRS); do $(MAKE) -C $$d clean; done + +install: + for d in $(SUBDIRS); do $(MAKE) -C $$d install; done + + install -d $(DESTDIR)$(UBINDIR) + install -m 0755 src/frontend/cli/vasile.sh $(DESTDIR)$(UBINDIR)/ + install -d $(DESTDIR)$(ULIBDIR) + install -m 0644 src/backend/*sh $(DESTDIR)$(ULIBDIR)/ + +uninstall: + rm -rf $(DESTDIR)$(UBINDIR)/vasile.sh + rm -rf $(DESTDIR)$(ULIBDIR) -- cgit v1.2.3