Hi Team,
I have put comiplation flag in make file .
Like  -DENABLE_LED
In code like
File: db.cc

ifdef ENABLE_LED
  Funct()
{
}
#endif

File : db.h
#ifdef ENABLE_LED
Funct();
#endif

// for above to file db.so is created


Main.cc used the db.so


>From docs I read but not understand I  the compilation flag concept.

Thnks
Kuna

Reply via email to