[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2741732 07/11: Break a makefile dependency cy
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2741732 07/11: Break a makefile dependency cycle |
Date: |
Tue, 16 Feb 2021 13:06:22 -0500 (EST) |
branch: master
commit 2741732e9e7258984ee6b74029f48558332faaf8
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Break a makefile dependency cycle
PETE/Tools/MakeOperators$(EXEEXT) must be built before it is run.
---
tools/pete-2.1.1/Makefile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/tools/pete-2.1.1/Makefile b/tools/pete-2.1.1/Makefile
index 7c1043f..1051910 100644
--- a/tools/pete-2.1.1/Makefile
+++ b/tools/pete-2.1.1/Makefile
@@ -36,20 +36,22 @@ submake_options := \
EXEEXT='$(EXEEXT)' \
et_vector_test$(EXEEXT): et_vector_test.cpp
- $(MAKE) $(submake_options) clean
- $(MAKE) $(submake_options) newpeteops
- $(MAKE) $(submake_options) installheaders
$(CXX) -I. $^ -o $@
et_vector_test.cpp: et_vector_operators.hpp
-et_vector_operators.hpp: et_vector.in
- PETE/Tools/MakeOperators \
+et_vector_operators.hpp: et_vector.in PETE/Tools/MakeOperators$(EXEEXT)
+ PETE/Tools/MakeOperators$(EXEEXT) \
--guard et_vector_operators_hpp \
--classes et_vector.in \
--assign-ops \
--o $@
+PETE/Tools/MakeOperators$(EXEEXT):
+ $(MAKE) $(submake_options) clean
+ $(MAKE) $(submake_options) newpeteops
+ $(MAKE) $(submake_options) installheaders
+
clean:
rm -f et_vector_test$(EXEEXT)
- [lmi-commits] [lmi] master updated (3143a30 -> c90e25a), Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master b321588 05/11: Demonstrate PETE assignment to std::vector, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master bcec152 08/11: Amend PETE header and footer for generated files, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 2741732 07/11: Break a makefile dependency cycle,
Greg Chicares <=
- [lmi-commits] [lmi] master 2a92707 04/11: Move a comment block that will soon become a test, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 431bdbb 01/11: Do not include PETE in any header except "et_vector.hpp", Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master acac3ad 03/11: Accommodate 21st-century hardware, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master c90e25a 11/11: No longer invoke std::operator==() explicitly for vectors, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 2844ba0 10/11: Suppress PETE's operator==() for std::vector, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 7f3f834 06/11: Rewrite '*clean*' targets, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 088d2a8 09/11: Regenerate PETE, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 38d5ece 02/11: Further improve physical design, Greg Chicares, 2021/02/16