Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 5322b1e

Browse files
author
Nicolas Cornu
authored
Use of DELETE_ON_ERROR for generating mod files (#423)
- If mod2c fail, the file is generated but empty, because of that they are not generated again and it fails later in a complicated way.
1 parent 548a36b commit 5322b1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extra/nrnivmodl_core_makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,6 @@ install: $(SPECIAL_EXE) coremech_lib_target
241241
.PHONY: build_always
242242

243243
$(VERBOSE).SILENT:
244+
245+
# delete cpp files if mod2c error, otherwise they are not generated again
246+
.DELETE_ON_ERROR:

0 commit comments

Comments
 (0)