help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can make generate different file name depend on header file's define


From: loody
Subject: can make generate different file name depend on header file's define
Date: Fri, 19 Apr 2013 16:34:24 +0800

hi all:
There is a header file in my project like below


#define DEBUG_VERSION
//#undef DEBUG_VERSION

//#define RELEASE_VERSION
#undef REAL_CHIP_VERSION

#ifdef DEBUG_VERSION
#define FILE_NAME "DEBUG"
#endif

#ifdef RELEASE_VERSION
#define FILE_NAME "DEBUG"
#endif


is it possible the out file name created by Make will dynamically changed
by above FILE_NAME

-- 
Thanks for your help in advance,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]