aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d4520b3..5122e69 100755
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ CC = gcc
CFLAGS = -Wall -g
SOURCES = easydir.c handerror.c implementation.c main.c
OBJECTS = $(SOURCES:.c=.o)
+BASH = lpass_copy.sh
EXECUTABLE = lpass
.PHONY: all clean install uninstall
@@ -19,10 +20,13 @@ $(EXECUTABLE): $(OBJECTS)
@$(CC) $(CFLAGS) -o $(EXECUTABLE) $(OBJECTS)
install: all
- @echo installing file to $(PREFIX)
+ @echo installing files to $(PREFIX)
@install $(EXECUTABLE) $(PREFIX)
@chmod 755 $(PREFIX)/$(EXECUTABLE)
+ @install $(BASH) $(PREFIX)
+ @chmod 755 $(PREFIX)/$(BASH)
uninstall:
- @echo removing file from $(PREFIX)
- @rm -rf $(PREFIX)/$(EXECUTABLE) \ No newline at end of file
+ @echo removing files from $(PREFIX)
+ @rm -rf $(PREFIX)/$(EXECUTABLE)
+ @rm -rf $(PREFIX)/$(BASH) \ No newline at end of file