-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
An IOC application using Sequencer version 2.2.9 and built with GNU Make 4.2.1 contains a sequence program mpsFaultDiscovery.st that includes the preprocessor directive
#include "mpsFaultDiscovery.h"That include file defines and assigns a number of variables which are used by this and other SNL programs. The result builds and runs as expected, but the generated O.linux-x86_64/mpsFaultDiscovery.st.d file contains only
# DO NOT EDIT: This file created by mkmf.pl
Thus editing the include file doesn't cause the SNL program to get rebuilt. To achieve that, I had to add this rule to the Makefile:
--- a/mpsApp/src/Makefile
+++ b/mpsApp/src/Makefile
@@ -72,3 +72,4 @@ include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
+mpsFaultDiscovery.i: ../mpsFaultDiscovery.hSince the rules do generate a %.st$(DEP) file they should have seen this dependency and included it automatically.
Metadata
Metadata
Assignees
Labels
No labels