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

Add a Makefile to generate timer code in simulation mode

parent 3668515b
OPENGEODE?=opengeode
all: compile-linux
clean:
rm -rf obj
edit:
cd src && $(OPENGEODE) @_LOWER:Name_@.pr
generate-code:
mkdir -p code && cd code && \
cp ../../../dataview/dataview-uniq.asn ../src && \
$(OPENGEODE) --taste --toAda ../src/@_LOWER:Name_@.pr && \
mv *.gpr ..
compile-linux: generate-code
CODE_PATH=code ADA_INCLUDE_PATH=../../../dataview/Ada gprbuild -p -P @_LOWER:Name_@_ada.gpr
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