Commit 2bbe8136 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Call GPS to edit Ada code, not Kate

parent 2465d443
......@@ -12,12 +12,15 @@ all: compile-linux
rm -rf obj
@@INLINE( $(VISUAL) )( )()@@
src/ src/@_LOWER:Name_@.adb
echo "project tmp_@_LOWER:Name_@ is For Source_Dirs use (\"src\", \"../../dataview/Ada/\"); end tmp_@_LOWER:Name_@;" > tmp_@_LOWER:Name_@.gpr
gps -P tmp_@_LOWER:Name_@.gpr
rm tmp_@_LOWER:Name_@.gpr
@@--@@INLINE( $(VISUAL) )( )()@@
@@-- @@TABLE@@
@@-- ../../dataview/Ada/@_REPLACE_ALL(-/_)
@@-- @@END_TABLE@@
@@-- src/ src/@_LOWER:Name_@.adb
mkdir -p obj && cd obj && ADA_INCLUDE_PATH=../../../dataview/Ada gnat make ../src/@_LOWER:Name_@
Markdown is supported
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