| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
| |
* add decimal to binary and vice-versa Makefile rule
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
| |
* add .PHONY to some rules in Makefile
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* optimizes main counting cycle if TO_INFINITE_BASE is set,
by adding to_second variable
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* make program name into the macro PROG_NAME
* add program name into all error messages
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
|
| |
* add mem rule to Makefile
* add free_numeral()
* free all memory allocations
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* add is_valid_number()
* check if number belongs to the 'from' numerical system
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* put all the rules to make programs to test my past numerical systems
programs
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
| |
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* print_numeral() without '\n'
* more compact DEBUG message
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* add to increment() one more argument (char* brand_new_digit)
* add TO_INFINITE_BASE functionality
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* defines both (TO and FROM)_INFINITE_BASE
* add FROM_INFINITE_BASE functionality
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
* add decrement_number_string()
* add (FROM and TO)_FIRST_NUMBER_VOID flags
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
| |
compilation flags are defined as true by default.
rearrange them.
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
|
|
| |
* add reverse_string()
* number variable instead of number_first/number_last
* add flags TO_UNITS_ON_THE_END and FROM_UNITS_ON_THE_END
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
|
|
| |
add usage message when invalid argument
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
|
|
|
| |
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|
| |
|
|
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
|