* change make into $(MAKE)
* in compiling libraries, echo message with path
* create Makefile variables: INSTALL and prefix
* add rule install-lib
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* removed c99 as the c compiler variable
* add doc rule
* add build library rules for .a and .so
* mem2 rule now tests for 000 arg instead of 0
* clean rule update for libraries
* add numericx.h dependency to rules
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* the source code was, in the last commit, separated, in order to
create a library. Makes build the CLIs in the Makefile work.
* make clean cleans the *.o
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* If invalid number of arguments supplied to main(), return errno E2BIG
* add Makefile rule to test memory leak of wrong number of arguments to
main()
Signed-off-by: Daniel Santos <dacs.git@brilhante.top>
* 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>