1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-23 00:24:23 +00:00

Make the compilation silent so only the execution time is output

This commit is contained in:
Steffo 2022-11-16 17:06:16 +01:00
parent cf79cb0924
commit f655df0eb7
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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)