notaz / picodrive

Fast MegaDrive/MegaCD/32X emulator
Other
291 stars 165 forks source link

Makefile: Build with optimizations if DEBUG=0 #80

Closed orbea closed 6 years ago

orbea commented 6 years ago

This makes picodrive build with optimizations if DEBUG=0. Before it would build with optimizations only if DEBUG is unset.

So by default picodrive will build with optimizations, if DEBUG=0 it will build with optimizations and if DEBUG=anything it will not build with optimizations.

The goal behind this is to make it possible to explicitly enable or disable debug builds inside a build script.

notaz commented 6 years ago

Merged manually with a minor change.

orbea commented 6 years ago

Thanks!