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