Hi, in a large project there are several lists of source files that are compiled differently, depending on the list they are in.
For example, some files are compiled with different command line options, some with different other settings, some are additionally checked with a static code analyser, for some of the files some other commands should be executed. Basically, a file can have several attributes. Is it possible to have just one list of source files and by the letters in the suffix have coded what attributes are set for that file? LIST := abc.c # a plain C file LIST += def.cl # will be checked with LINT LIST += ghi.cm # file will be specially tested LIST += jkl.cr # file needs to be reviewed LIST += mno.clmr # all the above LIST_C = $(filter_for_c $(LIST)) LIST_L = $(filter_for_l $(LIST)) ... Is something like that possible? If not in that form, can something similar be done? Best regards, Torsten. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
