diff options
author | Daniel Santos <dacs.git@brilhante.top> | 2022-03-12 18:10:42 +0000 |
---|---|---|
committer | Daniel Santos <dacs.git@brilhante.top> | 2022-03-12 18:14:15 +0000 |
commit | 5d7cabc4208096685d8585c6bda1ddde488bbceb (patch) | |
tree | af427f17c85f8714cc310c3bcf215b0d2be00d09 /Makefile | |
parent | f1cd830c403ccbe681220f6b7e13fba7917fe28c (diff) | |
download | numericx-c-5d7cabc4208096685d8585c6bda1ddde488bbceb.tar.gz |
add to Makefile sun<->earth rule
* add sun to earth and vice-versa rule, without adding it to the all rule * also add earth<->sun to 'clean' Makefile rule Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile index ae8a326..3242b02 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,12 @@ decimal-sun: $(DEP) sun-decimal: $(DEP) $(CC) $(CFLAGS) -DFROM_NUMERICALS=\"123456789\" -DTO_NUMERICALS=\"0123456789\" -DTO_FIRST_NUMBER_VOID -DTO_INFINITE_BASE -o $@ $^ +sun-earth: $(DEP) + $(CC) $(CFLAGS) -DFROM_NUMERICALS=\"123456789\" -DTO_NUMERICALS=\"12345\" $@ $^ + +earth-sun: $(DEP) + $(CC) $(CFLAGS) -DFROM_NUMERICALS=\"12345\" -DTO_NUMERICALS=\"123456789\" -o $@ $^ + decimal-lori: $(DEP) $(CC) $(CFLAGS) -DFROM_NUMERICALS=\"0123456789\" -DFROM_UNITS_ON_THE_END -DFROM_FIRST_NUMBER_VOID -DFROM_INFINITE_BASE -DTO_NUMERICALS=\"123456789@\" -DTO_UNITS_ON_THE_END -o $@ $^ @@ -58,7 +64,7 @@ uninfinity: $(DEP) .PHONY: clean clean: - \rm -f *-decimal decimal-* d-n* *1-d uninfinity + \rm -f *-decimal decimal-* d-n* *1-d uninfinity earth-sun sun-earth .PHONY: run run: decimal-earth |