Closed ghost closed 9 years ago
Not sure if its a good ideia to have a makefile for every example, maybe a make examples on the root directory works better.
make examples
Anyway, everything should be working.
i am using ARCH :=$(shell $(CC) -dumpmachine) to get current system ARCH, seems to be working everywhere.
ARCH :=$(shell $(CC) -dumpmachine)
Also, forgot to mention i think. Linux libs should be named like this lib{PROJECT-NAME}.so and lib{PROJECT-NAME}.a for debugging its normally lib{PROJECT-NAME}-dbg.so or lib{PROJECT-NAME}-d.so
lib{PROJECT-NAME}.so
lib{PROJECT-NAME}.a
lib{PROJECT-NAME}-dbg.so
or lib{PROJECT-NAME}-d.so
Not sure if its a good ideia to have a makefile for every example, maybe a
make examples
on the root directory works better.Anyway, everything should be working.
i am using
ARCH :=$(shell $(CC) -dumpmachine)
to get current system ARCH, seems to be working everywhere.