Include sha256 implementation
This commit is contained in:
9
Makefile
9
Makefile
@@ -3,13 +3,14 @@ CFLAGS=-Wall -Wextra
|
||||
LIBWS=./vendor/libmicrohttpd/
|
||||
LIBWS_LIB=$(LIBWS)lib/libmicrohttpd.a
|
||||
|
||||
LIBSHA=./vendor/sha256/
|
||||
LIBSHA_SRC=$(LIBSHA)sha256.c
|
||||
|
||||
LDFLAGS=-lm
|
||||
INCL_FLAGS=-I$(LIBWS)include
|
||||
INCL_FLAGS=-I$(LIBWS)include -I$(LIBSHA)
|
||||
|
||||
|
||||
main: src/main.c output
|
||||
main: src/main.c $(LIBSHA_SRC) output
|
||||
gcc $(CFLAGS) $(INCL_FLAGS) -o output/main src/main.c $(LIBWS_LIB) $(LDFLAGS)
|
||||
|
||||
|
||||
output:
|
||||
mkdir -p output
|
||||
|
||||
Reference in New Issue
Block a user