From 473bfcc07e616688dc81baa4096225b2ebe29038 Mon Sep 17 00:00:00 2001 From: Fanny Rodolakis <rodolakis@anl.gov> Date: Thu, 25 May 2023 13:04:05 -0500 Subject: [PATCH] 5.2 more explanation --- 5-Add-virtual-motors.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/5-Add-virtual-motors.md b/5-Add-virtual-motors.md index 995c889..2c2dee9 100644 --- a/5-Add-virtual-motors.md +++ b/5-Add-virtual-motors.md @@ -117,8 +117,9 @@ endif - This expression appends `vmcSupport.dbd` to the end of the `$(DBD_NAME)_DBD` variable. It adds the value `vmcSupport.dbd` as a new entry at the end of the list stored in `$(DBD_NAME)_DBD`. - `$(DBD_NAME)_DBD` is a variable storing the names of DBD files to be included in the build - `$(PROD_NAME)_LIBS := vmc $($(PROD_NAME)_LIBS)`: - - This expression assigns the value vmc as the first element in the `$(PROD_NAME)_LIBS` variable, and it appends the existing value of `$(PROD_NAME)_LIBS` after `vmc`. + - This expression assigns the value `vmc` as the first element in the `$(PROD_NAME)_LIBS` variable, and it appends the existing value of `$(PROD_NAME)_LIBS` after `vmc`. - `$(PROD_NAME)_LIBS` is a variable that holds the names of libraries the IOC application depends on. + - Note: the `gcc -l` [flag](https://stackoverflow.com/questions/6231206/lib-prefix-on-libraries) requires libraries to omit the `lib` prefix and the `.a` extension. </details> -- GitLab