How to create multiple build targets in config.make?

#1

Hi, I’m trying to use multiple build settings to build OF project.
One build will use different PROJECT_CFLAGS and PROJECT_LDFLAGS so it will build a dynamic library instead of executable.

For example, I would like to be able to do like the following:

make -> build as a standard executable
make DynamicLib -> build as a dynamic library

The two builds will use the same source files but use different build settings.

Is it possible to do this by simply editing the config.make file?