Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 07-21-2008, 09:10 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 94,708

Rep: Reputation: 91
LXer: Turn Make Options into Tool Flags

Published at LXer:

Often times when developing programs there is a need to build the program in/for multiple configurations. Many times, autoconf and its resulting configure script do what you need. Other times you can just change a #define in your code. But sometimes, autoconf isn't an option and changing a define doesn't quite work (say you need to pass your defines/undefines to m4 or some other tool that can't handle include files). The solution is probably to change your makefile. The method presented here results in a fairly compact change to your makefile



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
When apt-get source'ing .. can I pass make flags? AlucardZero Debian 2 06-08-2008 09:58 AM
Qt tool for gcc flags Ephracis Programming 4 01-15-2006 01:28 AM
LXer: Server crashes make CUNY study new options LXer Syndicated Linux News 0 12-22-2005 06:31 PM
OPtions to turn off my Acer 1357LMi fenice1976 Linux - Laptop and Netbook 3 06-14-2004 03:28 PM
Tool to report on Kernel options? dkraut Linux - General 1 03-01-2004 04:40 PM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration