3 WARNING = -pedantic -Wall -Wstrict-prototypes -Werror
4 DEFS = -D$(call uc, $(subst -,_,$(MCU_TARGET)))
5 DEP_DIR = deps/$(BOARD)/#
7 BIN_DIR = bin/$(BOARD)/#
8 TESTSRC_DIR = test_src/#
10 TESTPORT = /dev/ttyUSB2
11 TESTPORTBAUDR = 115200
12 TESTLOG_DIR = testlog/#
14 SPEEDTOOL = host/get_performance.rb
15 SPEEDLOG_DIR = speed_log/$(BOARD)/#
17 SPEEDCMD = performance
19 LIST_DIR = listings/$(BOARD)/#
21 AUTOASM_DIR = autoasm/$(BOARD)/#
23 LIB_NAME = libcrypto.a
29 $(DEBUG) $(WARNING) -std=$(CSTD) $(OPTIMIZE) \
30 -mcpu=$(MCU_TARGET) $(MCU_OPTS) $(DEFS) -MMD
32 # -ffunction-sections -fdata-sections \
34 SIZESTAT_FILE = sizestats.txt
37 OBJCOPY = $(TOOLCHAIN)objcopy
38 OBJDUMP = $(TOOLCHAIN)objdump
39 SIZE = $(TOOLCHAIN)size
48 GET_TEST = host/get_test.rb
50 MAKE2GRAPH = ~/bin/make2graph.rb