summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index df7fbd6..72594d9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1,13 @@
CFLAGS=-Wall -Wextra -O3
-all:
- make encrypt
- make decrypt
-
encrypt: encrypt.c
- gcc ${CFLAGS} -o $@ $^
-decrypt: decrypt.c
- gcc ${CFLAGS} -o $@ $^
+ gcc ${CFLAGS} ${EFLAGS} -o $@ $^
install:
cp encrypt /usr/local/bin/encrypt
- cp decrypt /usr/local/bin/decrypt
uninstall:
rm /usr/local/bin/sc-encrypt
- rm /usr/local/bin/sc-decrypt
clean:
rm encrypt
- rm decrypt