home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 13025 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  773 b 

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!chx400!sicsun!lcaohp2.epfl.ch!ebel
  2. From: ebel@lcaohp2.epfl.ch (Norbert Ebel)
  3. Newsgroups: comp.unix.questions
  4. Subject: make question generating versions
  5. Keywords: make
  6. Message-ID: <4221@sicsun.epfl.ch>
  7. Date: 6 Nov 92 11:23:30 GMT
  8. Sender: news@sicsun.epfl.ch
  9. Reply-To: ebel@lcaohp1.epfl.ch
  10. Organization: EPFL.
  11. Lines: 13
  12.  
  13. Hi Netters,
  14. I have a software in several versions. These versions are choosen by #ifdef BLA, 
  15. In my makefile I could have cc -DBLA ... 
  16.  
  17. Is there a way to choose the version by giving an appropriate goal 
  18. like 'make BLA', resp. make. I know of 'make option=BLA' but this seems to me
  19. too complicted.
  20.  
  21.  
  22. -- 
  23. Norbert Ebel  IMECO-LCAO
  24. Departement de Mecanique
  25. EPFL      1015  Lausanne
  26.