Merge branch 'master' of github.com:D4-project/d4-core

pull/23/head
Gerard Wagener 2018-12-05 09:51:09 +01:00
commit b1b5628e18
2 changed files with 18 additions and 2 deletions

View File

@ -1,5 +1,20 @@
d4: d4.o others/hmac/sha2.o others/hmac/hmac.o
gcc -Wall -o d4 d4.o others/hmac/hmac.o others/hmac/sha2.o -luuid
all: d4
hmac: hmac.o sha2.o
$(CC) sha2.o hmac.o -o hmac
hmac.o: ./others/hmac/hmac_sha2.c ./others/hmac/hmac_sha2.h
$(CC) -Wall -c ./others/hmac/hmac_sha2.c -o hmac.o
sha2.o: ./others/hmac/sha2.c ./others/hmac/sha2.h
$(CC) -c ./others/hmac/sha2.c -o sha2.o
clean:
- rm -rf *.o hmac
d4: d4.o sha2.o hmac.o
gcc -Wall -o d4 d4.o hmac.o sha2.o -luuid
d4.o: d4.c
gcc -Wall -c d4.c

1
client/others/hmac Submodule

@ -0,0 +1 @@
Subproject commit 5efc450f9dd204059b2f29808deaf2f8239b8129