Commit 260e657a authored by Maxime Perrotin's avatar Maxime Perrotin

Add edit rule for C and Ada makefiles

parent 07d648e4
......@@ -5,11 +5,19 @@
@@-- @_ASN1_Modules_@ : List of all ASN.1 modules
@@-- @_Is_Type_@ : Flag set to True for function type
@@-- @_Instance_Of_@ : Name of function type if instance
VISUAL?=kate
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@@
compile-linux:
mkdir -p obj && cd obj && ADA_INCLUDE_PATH=../../../dataview/Ada gnat make ../src/@_LOWER:Name_@
......@@ -5,11 +5,15 @@
@@-- @_ASN1_Modules_@ : List of all ASN.1 modules
@@-- @_Is_Type_@ : Flag set to True for function type
@@-- @_Instance_Of_@ : Name of function type if instance
VISUAL?=kate
all: compile-linux
clean:
rm -rf obj
edit:
$(VISUAL) ../../dataview/C/dataview-uniq.h src/@_LOWER:Name_@.h src/@_LOWER:Name_@.c
compile-linux:
mkdir -p obj && cd obj && gcc -c ../src/*.c
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