Skip to content

Commit

Permalink
emit error if USE_TRUE_SDC=TRUE and USE_SIMPLIFIED_SDC=TRUE
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Sep 20, 2023
1 parent 575c8c9 commit 2d86140
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Exec/Make.Castro
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ ifeq ($(USE_SDC), TRUE)
$(error USE_SDC is no longer supported. Use with USE_SIMPLIFIED_SDC or USE_TRUE_SDC)
endif

ifeq ($(USE_SIMPLIFIED_SDC), TRUE)
ifeq ($(USE_TRUE_SDC), TRUE)
$(error USE_SIMPLIFIED_SDC cannot be combined with USE_TRUE_SDC)
endif
endif

# need to put any build suffices before Make.defs
ifeq ($(USE_SIMPLIFIED_SDC), TRUE)
USERSuffix = .SMPLSDC
Expand Down

0 comments on commit 2d86140

Please sign in to comment.