1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
// Inspect the following #defines. Change them to taste. If you don't
// need a particular option, change its value into an empty string
// should commands be echoed (ON) or not (OFF) ?
#define USE_ECHO ON
// The final program and source containing main():
// ===============================================
// define the name of the program to create:
#define BINARY "icm-exec"
// define the name of the source containing main():
#define MAIN "icm-exec.c"
// #defines used for compilation and linking:
// ==========================================
// define the compiler to use:
#define COMPILER "gcc"
// define the compiler options to use:
#define COMPILER_OPTIONS "-g -Wall -O2"
// define the pattern to locate sources in a directory:
#define SOURCES "*.c"
// define the options used for linking:
#define LINKER_OPTIONS "-s"
// define any additional libraries BINARY may need:
#define ADD_LIBRARIES "icrss"
// define any additional paths (other than the standard paths) the
// additional libraries are located in:
#define ADD_LIBRARY_PATHS "../../rss"
// #defines used for the final product:
// ====================================
#define BIN_INSTALL "../bin"
// Some advanced #defines, used to create parsers and lexical scanners
// ===================================================================
// Lexical Scanner section
// =======================
// Should a lexical scanner be constructed? If so, define the subdirectory
// containing the scanner's specification file.
#define SCANNER_DIR ""
// What is the program generating the lexical scanner?
#define SCANGEN "flex"
// Flags to provide SCANGEN with:
#define SCANFLAGS "-I"
// Name of the lexical scanner specification file
#define SCANSPEC "lexer"
// Name of the file generated by the lexical scanner
#define SCANOUT "yylex.cc"
// Parser section
// ==============
// Should a parser be constructed? If so, define the subdirectory
// containing the parser's specification file
#define PARSER_DIR ""
// What it the program generating a parser?
#define PARSGEN "bisonc++"
// What it the grammar specificication file?
#define PARSSPEC "grammar"
// Flags to provide PARSGEN with:
#define PARSFLAGS "-V -l"
// Name of the file generated by the parser generator containing the
// parser function
#define PARSOUT "parse.cc"
// Additional defines, which should normally not be modified
// =========================================================
// Directory below this directory to contain temporary results
#define TMP_DIR "tmp"
// Local program library to use (comment out if you want to use
// the object modules themselves, rather than a library)
#define LIBRARY "modules"
// The extension of object modules:
#define OBJ_EXT ".o"
|