Commit a3b8f0c4 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

template for compiling Ada functions

parent 7d718f71
......@@ -3,5 +3,11 @@
@@-- @_Name_@ : The function name
@@-- @_ASN1_Files_@ : List of all ASN.1 files
@@-- @_ASN1_Modules_@ : List of all ASN.1 modules
all: compile-linux
clean:
rm -rf obj
compile-linux:
ADA_INCLUDE_PATH=../../../dataview/Ada gnat make @_LOWER:Name_@
mkdir -p obj && cd obj && ADA_INCLUDE_PATH=../../../dataview/Ada gnat make ../src/@_LOWER:Name_@
AADL_PARSER=../../aadl_parser
all: test-parse
cd output && make
test-parse: clean
$(AADL_PARSER) --gw \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment