Using the make command with archive libraries
The make command has a set of single-suffix rules to build source files directly into a target file name that does not have a suffix (for example, command files).
The internal rules for changing source files to library files are:
| Rule | Explanation |
|---|---|
| .C.a | C++ source to archive |
| .C\~.a | SCCS C++ source to archive |
| .c.a | C source to archive |
| .c~.a | SCCS C source to archive |
| .s~.a | SCCS assembler source to archive |
| .f.a | Fortran source to archive |
| .f~.a | SCCS Fortran source to archive |