Commit bd25a0f1 authored by Filip Demski's avatar Filip Demski
Browse files

SAMV71: Added debug to Makefile

parent 9efda8f4
......@@ -9,21 +9,36 @@
@@INLINE(.PHONY: all clean partitions )( )()@@
@@TABLE@@
partition_@_LOWER:Partition_Names_@
partition_debug_@_LOWER:Partition_Names_@
runtime_@_LOWER:Partition_Names_@
@@END_TABLE@@
@@END_INLINE@@
all: partitions
@@INLINE(partitions: )( )()@@
@@IF@@ @_Debug_Flag_@
all: debug
@@ELSE@@
all: release
@@END_IF@@
@@INLINE(release: )( )()@@
partition_@_LOWER:Partition_Names_@
@@END_INLINE@@
@@INLINE(debug: )( )()@@
partition_debug_@_LOWER:Partition_Names_@
@@END_INLINE@@
@@TABLE@@
partition_@_LOWER:Partition_Names_@: runtime_@_LOWER:Partition_Names_@
gprbuild -R -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Release" -cargs:C -DSTATIC=""
@@END_TABLE@@
@@TABLE@@
partition_debug_@_LOWER:Partition_Names_@: runtime_@_LOWER:Partition_Names_@
gprbuild -R -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Debug" -cargs:C -DSTATIC=""
@@END_TABLE@@
clean:
@@TABLE@@
gprclean -P @_LOWER:Partition_Names_@.gpr
......@@ -32,4 +47,4 @@ clean:
@@TABLE@@
runtime_@_LOWER:Partition_Names_@:
sh ./runtime_@_LOWER:Partition_Names_@.sh
@@END_TABLE@@
\ No newline at end of file
@@END_TABLE@@
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