correct makfile
This commit is contained in:
parent
71e5ed309d
commit
53606e58c2
18
Makefile
18
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue