mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-26 10:04:23 +00:00
Make the compilation silent so only the execution time is output
This commit is contained in:
parent
cf79cb0924
commit
f655df0eb7
2 changed files with 5 additions and 2 deletions
|
@ -13,3 +13,6 @@ CFLAGS+= -Wextra
|
||||||
CFLAGS+= -O3
|
CFLAGS+= -O3
|
||||||
# -g3 enables some useful debug things
|
# -g3 enables some useful debug things
|
||||||
CFLAGS+= -g3
|
CFLAGS+= -g3
|
||||||
|
|
||||||
|
# Disable make output
|
||||||
|
MAKEFLAGS+= --silent
|
|
@ -28,10 +28,10 @@ $(EXE) : $(SRC)
|
||||||
$(CC) $(CFLAGS) $(INCPATHS) $^ -o $@ $(LDFLAGS)
|
$(CC) $(CFLAGS) $(INCPATHS) $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
clean :
|
clean :
|
||||||
-rm -vf -vf $(EXE) *~
|
-rm -f $(EXE) *~
|
||||||
|
|
||||||
veryclean : clean
|
veryclean : clean
|
||||||
-rm -vf $(DEPS)
|
-rm -f $(DEPS)
|
||||||
|
|
||||||
run: $(EXE)
|
run: $(EXE)
|
||||||
./$(EXE)
|
./$(EXE)
|
||||||
|
|
Loading…
Reference in a new issue