correct makfile

This commit is contained in:
_N3m0 2023-08-15 16:32:17 +02:00
parent 71e5ed309d
commit 53606e58c2
1 changed files with 15 additions and 3 deletions

View File

@ -40,8 +40,8 @@ clean :
# make test file=testGenID.cpp # make test file=testGenID.cpp
test : $(OBJ) test : $(OBJ)
$(CC) $(FLAGS) -o build/$(file:.$(EXT)=) test/$(file) $(CC) $(FLAGS) -o build/$(file) test/$(file).$(EXT)
./build/$(file:.$(EXT)=) ./build/$(file)
alltest : alltest :
@for f in $(subst ./test/,,$(TEST)); do make -s test file=$$f; done @for f in $(subst ./test/,,$(TEST)); do make -s test file=$$f; done
@ -58,4 +58,16 @@ info :
$(info put what ever) $(info put what ever)
@echo you want @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