# comment out the following line for removement of Grain from the build process
STREAM_CIPHERS += $(ALGO_NAME)
+$(ALGO_NAME)_DIR := grain/
$(ALGO_NAME)_OBJ := grain.o
-$(ALGO_NAME)_TEST_BIN := main-grain-test.o debug.o uart.o serial-tools.o \
- nessie_stream_test.o nessie_common.o grain.o cli.o \
- performance_test.o
+$(ALGO_NAME)_INCDIR := memxor/ scal/
+$(ALGO_NAME)_TESTBIN := main-grain-test.o $(CLI_STD) $(SCAL_STD) scal_grain.o
$(ALGO_NAME)_NESSIE_TEST := "nessie"
-$(ALGO_NAME)_PEROFRMANCE_TEST := "performance"
-
+$(ALGO_NAME)_PERFORMANCE_TEST := "performance"
+$(ALGO_NAME)_DEF := NESSIE_ESTREAM=1