diff options
| author | Benedict <benedict@0xb8000.de> | 2016-12-03 23:20:14 +0100 |
|---|---|---|
| committer | Benedict <benedict@0xb8000.de> | 2017-02-21 13:00:26 +0100 |
| commit | e5f83c17cb1d4edddad05aa3bf2ae84b8da739f6 (patch) | |
| tree | d6e527f1c79e4132044b6a35a172782ca940b8e1 | |
| parent | 544153a8ffa6d68385712ab0a7c6315399346909 (diff) | |
set6: added libs and Makefile
| -rw-r--r-- | .Makefile.common | 2 | ||||
| -rw-r--r-- | lib/lib6.c | 0 | ||||
| -rw-r--r-- | lib/lib6.h | 0 | ||||
| -rw-r--r-- | set6/Makefile | 9 |
4 files changed, 10 insertions, 1 deletions
diff --git a/.Makefile.common b/.Makefile.common index 01e3f6c..08b3161 100644 --- a/.Makefile.common +++ b/.Makefile.common @@ -1,5 +1,5 @@ ## define variables used in all makefiles -LIB=../lib/lib2.c ../lib/lib.c ../lib/lib3.c ../lib/lib4.c ../lib/sha1.c ../lib/md4.c ../lib/lib5.c +LIB=../lib/lib2.c ../lib/lib.c ../lib/lib3.c ../lib/lib4.c ../lib/sha1.c ../lib/md4.c ../lib/lib5.c ../lib/lib6.c CC=gcc CFLAGS := -g -fPIC $(CFLAGS) CLIBS=`pkg-config --cflags --libs libcrypto` -lgmp -lm diff --git a/lib/lib6.c b/lib/lib6.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/lib6.c diff --git a/lib/lib6.h b/lib/lib6.h new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/lib/lib6.h diff --git a/set6/Makefile b/set6/Makefile new file mode 100644 index 0000000..8b0ffbd --- /dev/null +++ b/set6/Makefile @@ -0,0 +1,9 @@ +include ../.Makefile.common +COBJS=$(shell find . -type f -name "task*.c" | sed "s/\(.*\)\.c/\1.o/g") +TARGETS=$(shell find . -type f -name "task*.c" | sed "s/\(.*\)\.c/\1/g") + +all: $(TARGETS) + +clean: + @echo -e "\tDEL\t$(TARGETS)" + @rm $(TARGETS) |
