Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
2bbe8136
Commit
2bbe8136
authored
Nov 20, 2019
by
Maxime Perrotin
Browse files
Call GPS to edit Ada code, not Kate
parent
2465d443
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/skeletons/ada-source/makefile.tmplt
View file @
2bbe8136
...
...
@@ -12,12 +12,15 @@ all: compile-linux
clean
:
rm
-rf
obj
edit
:
@@INLINE(
$(VISUAL)
)(
)()@@
@@TABLE@@
../../dataview/Ada/@_REPLACE_ALL(-/_)
:
LOWER:ASN1_Modules_@.ads
@@END_TABLE@@
src/@_LOWER
:
Name_@.ads src/@_LOWER:Name_@.adb
@@END_INLINE@@
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(-/_)
:
LOWER:ASN1_Modules_@.ads
@@--
@@END_TABLE@@
@@-- src/@_LOWER
:
Name_@.ads src/@_LOWER:Name_@.adb
@@--@@END_INLINE@@
compile-linux
:
mkdir
-p
obj
&&
cd
obj
&&
ADA_INCLUDE_PATH
=
../../../dataview/Ada gnat make ../src/@_LOWER:Name_@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment