makefile.tmplt 623 Bytes
Newer Older
1 2 3 4 5 6 7
@@-- The following tags are available in this template:
@@--
@@-- @_Name_@                : The function name
@@-- @_ASN1_Files_@          : List of all ASN.1 files
@@-- @_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
8
VISUAL?=kate
9 10 11 12 13 14

all: compile-linux

clean:
	rm -rf obj

15 16 17
edit:
	$(VISUAL) ../../dataview/C/dataview-uniq.h src/@_LOWER:Name_@.h src/@_LOWER:Name_@.c

18 19
compile-linux:
	mkdir -p obj && cd obj && gcc -c ../src/*.c
Maxime Perrotin's avatar
Maxime Perrotin committed
20
	if [ -d wrappers ]; then cd obj && gcc -c ../wrappers/*.c; fi