[Omake] Comments on Omake Documentation

Florian Hars hars at bik-gmbh.de
Thu Aug 30 08:42:41 PDT 2007


I am reading the 0.9.9 documentation, and noticed a few minor things:

4.4.2  Defining a rule for linking

    CatProgram(program, files) =
        # Add the suffixes
        file_names = $(addsuffix .woof, $(files))
        prog_name = $(addsuffix .dog, $(files))

  Shouldn't that be $(addsuffix .dog, $(program))?

4.4.3  Dependency scanning

  Shouldn't the SCANNER rule add some suffixes to the file names?

5.9  Conditionals

    if <test>
       <true-clause>
    elseif <text>

  s/x/s/

6.10  Files and scoping

    If a file has multiple components to its path, the module name is dtermined

  misses an e

9.6.1  Named scanners, and the :scanner: dependencies

     .SCANNER: scan-gcc-%.c:

  has a dot before the c, but

     $(GCC_FILES): %.o: %.c :scanner: scan-gcc-%c

  hasn't, is this intentional?


More information about the Omake mailing list