diff --git a/src/configure.c b/src/configure.c index f4b5d0b..a2cd851 100644 --- a/src/configure.c +++ b/src/configure.c @@ -132,15 +132,15 @@ const String * sTargetType[TT_COUNT] = { "binary", "command", "library", "libtool", "object", "plugin", "script", NULL }; const struct ExtensionType _sExtensionType[] = { + { "asm", OT_ASM_SOURCE }, + { "s", OT_ASM_SOURCE }, + { "S", OT_ASMPP_SOURCE }, + { "sx", OT_ASMPP_SOURCE }, { "c", OT_C_SOURCE }, { "cc", OT_CXX_SOURCE }, { "cpp", OT_CXX_SOURCE }, { "cxx", OT_CXX_SOURCE }, { "c++", OT_CXX_SOURCE }, - { "asm", OT_ASM_SOURCE }, - { "s", OT_ASM_SOURCE }, - { "S", OT_ASMPP_SOURCE }, - { "sx", OT_ASMPP_SOURCE }, { "java", OT_JAVA_SOURCE }, { "m", OT_OBJC_SOURCE }, { "mm", OT_OBJCXX_SOURCE }, diff --git a/src/configure.h b/src/configure.h index 640df91..2c5b60f 100644 --- a/src/configure.h +++ b/src/configure.h @@ -96,17 +96,17 @@ extern const String * sTargetType[TT_COUNT]; typedef enum _ObjectType { - OT_C_SOURCE = 0, - OT_CXX_SOURCE, + OT_UNKNOWN = 0, OT_ASM_SOURCE, OT_ASMPP_SOURCE, + OT_C_SOURCE, + OT_CXX_SOURCE, OT_JAVA_SOURCE, OT_OBJC_SOURCE, OT_OBJCXX_SOURCE, - OT_VERILOG_SOURCE, - OT_UNKNOWN + OT_VERILOG_SOURCE } ObjectType; -# define OT_LAST OT_UNKNOWN +# define OT_LAST OT_VERILOG_SOURCE # define OT_COUNT (OT_LAST + 1) struct ExtensionType {