diff options
author | Seppia <nonso@insicuri.net> | 2016-12-08 19:53:04 +0100 |
---|---|---|
committer | Seppia <nonso@insicuri.net> | 2016-12-08 19:53:04 +0100 |
commit | f22ea1f1294f0c51e04f33f327f0fbb16b812fa3 (patch) | |
tree | 263b404f1fa0f6d6e86b8446aa7358c0b37587d8 /Makefile | |
parent | da46edf7b8de417d5aa5e57af1b5efa3781ca74d (diff) | |
download | onetimebluh-f22ea1f1294f0c51e04f33f327f0fbb16b812fa3.tar.gz onetimebluh-f22ea1f1294f0c51e04f33f327f0fbb16b812fa3.tar.bz2 onetimebluh-f22ea1f1294f0c51e04f33f327f0fbb16b812fa3.zip |
added Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bf61e16 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CC = gcc +CFLAGS = -march=native -Wall -Wpedantic -lcrypto +SOURCE = onetimebluh +TARGET = otbluh +PREFIX = /usr + +all: $(SOURCE) + +$(SOURCE): src/$(SOURCE).c + mkdir build + $(CC) $(CFLAGS) -o build/$(TARGET) src/$(SOURCE).c -v + +install: + install build/$(TARGET) $(DESTDIR)$(PREFIX)/bin + +clean: + $(RM) -r build |