G
Gerardo Santana Gómez Garrido
I want to write an extconf.rb file for a Ruby extension. The problem
is that my source file has a suffix that is not any of the expected by
mkmf.rb: ec. The suffixes expected are:
SRC_EXT =3D ["c", "cc", "m", "cxx", "cpp", "C"]
I could add the suffix:
SRC_EXT << "ec"
and even define my own COMPILE_EC rule:
COMPILE_EC =3D '$(ESQL) $(CFLAGS) -c $<'
but how can I extend create_makefile to use this rule, without
modifying mkmf.rb?
is that my source file has a suffix that is not any of the expected by
mkmf.rb: ec. The suffixes expected are:
SRC_EXT =3D ["c", "cc", "m", "cxx", "cpp", "C"]
I could add the suffix:
SRC_EXT << "ec"
and even define my own COMPILE_EC rule:
COMPILE_EC =3D '$(ESQL) $(CFLAGS) -c $<'
but how can I extend create_makefile to use this rule, without
modifying mkmf.rb?