From 8f3c51cc4cbc0fe456d1dc1bfcc666cfee78623b Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Tue, 5 Jun 2012 19:42:14 +0100 Subject: SimpleCrypt 0.2 (copied in for historical reasons) --- Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index eaa7d67..df7fbd6 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,22 @@ -CFLAGS=-Wall -Wextra +CFLAGS=-Wall -Wextra -O3 all: make encrypt make decrypt encrypt: encrypt.c - gcc -o $@ $^ ${CFLAGS} + gcc ${CFLAGS} -o $@ $^ decrypt: decrypt.c - gcc -o $@ $^ ${CFLAGS} + gcc ${CFLAGS} -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 -- cgit v1.2.1