Hi, I have pulled down the branch and just wanted to either report an issue, or be informed what I am doing wrong.
Firstly, I am able to compile CLIB2 without any issues. But, I expected to run "make" from the directory named "test_programs". Of course, I am in the cross-compiler environment: this is the latest adtools (
https://github.com/sba1/adtools + latest 53.34 SDK). This is using gcc 11.3.
But, merely running "make" in "test_programs" does not do what I expected. The default target is "all" and the "build" directory is created, but the object files are not built at all.
I am using GNU Make 4.2.1 (bin-utils for my native Linux machine).
OBJECTS = $(patsubst %.c, %, $(notdir $(wildcard *.c)))
I do not understand this. There are no .c files in the directory where Makefile resides. This will mean that $(OBJECTS) is empty. Hence why the "all" rule does nothing more than just create a "build" directory.
I can see that most of the tests are simply files with a main function which makes sense, but I am unsure how this Makefile works even for you. I guess I am doing something wrong, but after reading the README files I still cannot see any information pointing to what I should do to run the tests.
I can also see that -ldebug is used quite often, yet when building clib2 there is no debug.a created. I can, however, see that on my Amiga NG machine with the standard SDK 53.34 there is a libdebug.a, so I am not sure where that came from.
===
Anyway, I am willing to help, but I just need to know more about my points above.
Regards.