From 53606e58c23f4ed29c1fe49a13d83687390922ac Mon Sep 17 00:00:00 2001 From: _N3m0 Date: Tue, 15 Aug 2023 16:32:17 +0200 Subject: [PATCH] correct makfile --- Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a9e2985..0f38297 100644 --- a/Makefile +++ b/Makefile @@ -40,8 +40,8 @@ clean : # make test file=testGenID.cpp test : $(OBJ) - $(CC) $(FLAGS) -o build/$(file:.$(EXT)=) test/$(file) - ./build/$(file:.$(EXT)=) + $(CC) $(FLAGS) -o build/$(file) test/$(file).$(EXT) + ./build/$(file) alltest : @for f in $(subst ./test/,,$(TEST)); do make -s test file=$$f; done @@ -58,4 +58,16 @@ info : $(info put what ever) @echo you want -.PHONY : all run clean test alltest dist check info +push : + git push gh + git push bbsrv + +# alias + +r : run + +c : check + +p : push + +.PHONY : all run clean test alltest dist check info push