@@ -88,15 +88,15 @@ c_targets := benchmark.out
8888# RULES #
8989
9090# /
91- # Compiles source files.
91+ # Compiles C source files.
9292#
93- # @param {string} [C_COMPILER] - C compiler (e.g., `gcc`)
94- # @param {string} [CFLAGS] - C compiler options
95- # @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`)
96- # @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`)
97- # @param {string} [SOURCE_FILES] - list of source files
93+ # @param {string} SOURCE_FILES - list of C source files
94+ # @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop`)
95+ # @param {string} [LIBRARIES] - list of libraries (e.g., `-lpthread -lblas`)
9896# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`)
99- # @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`)
97+ # @param {string} [C_COMPILER] - C compiler
98+ # @param {string} [CFLAGS] - C compiler flags
99+ # @param {(string|void)} [fPIC] - compiler flag indicating whether to generate position independent code
100100#
101101# @example
102102# make
@@ -112,13 +112,13 @@ all: $(c_targets)
112112# Compiles C source files.
113113#
114114# @private
115- # @param {string} CC - C compiler (e.g., `gcc`)
116- # @param {string} CFLAGS - C compiler options
117- # @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC `)
118- # @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`)
119- # @param {string} SOURCE_FILES - list of source files
120- # @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`)
121- # @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`)
115+ # @param {string} SOURCE_FILES - list of C source files
116+ # @param {( string|void)} INCLUDE - list of includes (e.g., `-I /foo/bar -I /beep/boop`)
117+ # @param {(string|void)} LIBRARIES - list of libraries (e.g., `-lpthread -lblas `)
118+ # @param {( string|void)} LIBPATH - list of library paths (e.g., `-L /foo/bar -L /beep/boop `)
119+ # @param {string} CC - C compiler
120+ # @param {string} CFLAGS - C compiler flags
121+ # @param {( string|void)} fPIC - compiler flag indicating whether to generate position independent code
122122# /
123123$(c_targets ) : % .out: % .c
124124 $(QUIET ) $(CC ) $(CFLAGS ) $(fPIC ) $(INCLUDE ) -o $@ $(SOURCE_FILES ) $< $(LIBPATH ) -lm $(LIBRARIES )
0 commit comments