diff options
author | Daniel Santos <dacs.git@brilhante.top> | 2022-03-12 17:21:36 +0000 |
---|---|---|
committer | Daniel Santos <dacs.git@brilhante.top> | 2022-03-12 17:21:36 +0000 |
commit | 6e579c2763f39132237551b4521ef31f3ea0183d (patch) | |
tree | 7fade57c559c6d20122a057397dcaefc63ad7ce1 /Makefile | |
parent | 2dd0e8663e0a3eb7d19865206c7764bb71779153 (diff) | |
download | numericx-c-6e579c2763f39132237551b4521ef31f3ea0183d.tar.gz |
add .PHONY to Makefile
* add .PHONY to some rules in Makefile Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile index d923716..ab98ef1 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ CC := c99 CFLAGS := -Wall -Wextra -O2 DEP := numericx.c +.PHONY: all all: decimal-earth earth-decimal decimal-sun sun-decimal decimal-lori decimal-neonal decimal-nonal lori-decimal neonal-decimal nonal-decimal d-n1 d-neon1 n1-d neon1-d uninfinity decimal-earth: $(DEP) @@ -49,12 +50,15 @@ neon1-d: $(DEP) uninfinity: $(DEP) $(CC) $(CFLAGS) -DFROM_NUMERICALS=\"0123456789\" -DFROM_UNITS_ON_THE_END -DFROM_FIRST_NUMBER_VOID -DFROM_INFINITE_BASE -DTO_NUMERICALS=\"0123456789\" -DTO_UNITS_ON_THE_END -DTO_FIRST_NUMBER_VOID -o $@ $^ +.PHONY: clean clean: \rm -f *-decimal decimal-* d-n* *1-d uninfinity +.PHONY: run run: decimal-earth ./decimal-earth 21 +.PHONY: mem mem: decimal-earth valgrind --leak-check=full --show-leak-kinds=all -s decimal-earth 999 |