first generation, then compiling sync
authorVolker Birk <vb@pep-project.org>
Sun, 07 Apr 2019 00:27:54 +0200
branchsync
changeset 34514b95e5f1fbf3
parent 3450 653411a537d5
child 3452 c92df43dc125
child 3461 1f941d2d031a
first generation, then compiling
test/Makefile
     1.1 --- a/test/Makefile	Sat Apr 06 19:53:04 2019 +0200
     1.2 +++ b/test/Makefile	Sun Apr 07 00:27:54 2019 +0200
     1.3 @@ -96,12 +96,13 @@
     1.4  TEST_CMD_PFX=
     1.5  
     1.6  
     1.7 -all: .suitemaker $(TARGET) .scripts
     1.8 +all: src/SuiteMaker.cc
     1.9 +	make $(TARGET) .scripts
    1.10  
    1.11  %.d: %.cc
    1.12  	$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $< | sed -e 's,\($*\)\.o[ :]*,\1.o $@: ,g' > $@
    1.13  
    1.14 -.suitemaker: gensuitemaker.py
    1.15 +src/SuiteMaker.cc: gensuitemaker.py
    1.16  ifndef PY_ENV
    1.17  	@echo "WARNING: Can't find python3 - this is fine unless you're adding test suites. If so, please install python3."
    1.18  else
    1.19 @@ -114,7 +115,7 @@
    1.20  	touch .suitemaker
    1.21  endif
    1.22  
    1.23 -$(TARGET): $(OBJS) .suitemaker
    1.24 +$(TARGET): $(OBJS)
    1.25  	$(LINK.cc) $(OBJS) $(LOADLIBES) $(LDLIBS) -o $@
    1.26  
    1.27  .scripts:
    1.28 @@ -129,7 +130,7 @@
    1.29  .PHONY: clean
    1.30  clean:
    1.31  	$(RM) $(TARGET) $(TARGET).o $(TARGET).d $(OBJS) $(notdir $(basename $(OBJS))) $(DEPS)
    1.32 -	$(RM) $(HERE)/*Tests msg_2.0.asc $(HERE)/pEp_test_home .suitemaker .scripts
    1.33 +	$(RM) $(HERE)/*Tests msg_2.0.asc $(HERE)/pEp_test_home .scripts
    1.34  
    1.35  # If only the goal 'clean' is given, do not generate and include the '%.d' files.¬
    1.36  ifneq ($(MAKECMDGOALS),clean)