use MAKE variable

This commit is contained in:
Mylloon 2023-02-28 17:48:11 +01:00
parent eb172ae621
commit c07605e576
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -13,13 +13,13 @@ PROLOG = Prolog/
tgz-all: tgz-all:
echo $(CPP) $(PROLOG) | xargs -n 1 $(CP) $(TESTS) echo $(CPP) $(PROLOG) | xargs -n 1 $(CP) $(TESTS)
-make -C $(CPP) clean 2> /dev/null -$(MAKE) -C $(CPP) clean 2> /dev/null
$(TAR) "$(NAME).tar.gz" $(RAPPORT) $(CPP) $(PROLOG) $(TAR) "$(NAME).tar.gz" $(RAPPORT) $(CPP) $(PROLOG)
$(RM) $(CPP)$(TESTS) $(PROLOG)$(TESTS) $(RM) $(CPP)$(TESTS) $(PROLOG)$(TESTS)
tgz-cpp: tgz-cpp:
$(CP) $(TESTS) $(CPP) $(CP) $(TESTS) $(CPP)
-make -C $(CPP) clean 2> /dev/null -$(MAKE) -C $(CPP) clean 2> /dev/null
$(TAR) "$(NAME) - $(CPP_NAME).tar.gz" $(RAPPORT) $(CPP) $(TAR) "$(NAME) - $(CPP_NAME).tar.gz" $(RAPPORT) $(CPP)
$(RM) $(CPP)$(TESTS) $(RM) $(CPP)$(TESTS)