summaryrefslogtreecommitdiff
path: root/.Makefile.common
diff options
context:
space:
mode:
authorBenedict <benedict@0xb8000.de>2016-11-14 23:12:41 +0100
committerBenedict <benedict@0xb8000.de>2017-02-21 13:00:26 +0100
commit21ccda3438ad27d53678965d237732a0b3aae5c7 (patch)
tree0928de8b21ec1648bfc0e11097404a7a2df79af3 /.Makefile.common
parentb1e61efdf366bd7591b64161b010b4c72a6a394e (diff)
makefile: added dependenies + resepect -j flag
Diffstat (limited to '.Makefile.common')
-rw-r--r--.Makefile.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/.Makefile.common b/.Makefile.common
index a5eee02..01e3f6c 100644
--- a/.Makefile.common
+++ b/.Makefile.common
@@ -1,8 +1,8 @@
## define variables used in all makefiles
-LIB=../lib/lib2.c ../lib/lib.c ../lib/lib3.c ../lib/lib4.c
+LIB=../lib/lib2.c ../lib/lib.c ../lib/lib3.c ../lib/lib4.c ../lib/sha1.c ../lib/md4.c ../lib/lib5.c
CC=gcc
-CFLAGS := -g $(CFLAGS)
-CLIBS=`pkg-config --cflags --libs libcrypto`
+CFLAGS := -g -fPIC $(CFLAGS)
+CLIBS=`pkg-config --cflags --libs libcrypto` -lgmp -lm
%: %.c
@echo -e "\tCC\t $<"