summaryrefslogtreecommitdiff
path: root/src/common.mk
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-28 13:42:48 +0100
committerKévin Le Gouguec <kevin.legouguec@airbus.com>2018-11-28 13:44:54 +0100
commit98a7cb6d80f4151aebf6c1c0e76a2e9a22ab6e57 (patch)
tree6c38fe0873295a3186e9a0d82d798c0058b87c25 /src/common.mk
parent253ba2a44878542d50877fcc10461491ecd67085 (diff)
downloadlilliput-ae-implem-98a7cb6d80f4151aebf6c1c0e76a2e9a22ab6e57.tar.xz
Dégraissage de parameters.h
Diffstat (limited to 'src/common.mk')
-rw-r--r--src/common.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/common.mk b/src/common.mk
index ec56102..b854933 100644
--- a/src/common.mk
+++ b/src/common.mk
@@ -1,5 +1,5 @@
nist_flags = -std=c99 -Wall -Wextra -Wshadow -fsanitize=address,undefined -O2
-CFLAGS += -I. -Isrc $(nist_flags) -Werror
+CFLAGS += -Isrc -I. $(nist_flags) -Werror
LDFLAGS += $(nist_flags)
# use "make VERBOSE=1" to have full commands printed out.
@@ -36,11 +36,13 @@ $(tests): %: results/%
$(Q) ./results/$@
-results/src/cipher.o: src/cipher.h src/tweakey.h src/constants.h parameters.h
+results/src/cipher.o: src/cipher.h src/tweakey.h src/constants.h src/parameters.h _parameters.h
results/src/constants.o: src/constants.h
-results/src/lilliput-ae-i.o: src/lilliput-ae.h src/cipher.h src/constants.h
-results/src/tweakey.o: src/tweakey.h src/constants.h parameters.h
+results/src/lilliput-ae-i.o: src/lilliput-ae.h src/cipher.h src/constants.h src/parameters.h _parameters.h
+results/src/tweakey.o: src/tweakey.h src/constants.h src/parameters.h _parameters.h
+results/test-*.o: test/helpers.h src/parameters.h _parameters.h
# TODO: should add order-only prerequisites to remove mkdirs inside recipes
# TODO: add valgrind, although it does not seem to play well with ASAN
# TODO: should use gcc -M... to generate .o -> .h dependencies
+# TODO: auto-generate "tests" variable