home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!chx400!sicsun!lcaohp2.epfl.ch!ebel
- From: ebel@lcaohp2.epfl.ch (Norbert Ebel)
- Newsgroups: comp.unix.questions
- Subject: make question generating versions
- Keywords: make
- Message-ID: <4221@sicsun.epfl.ch>
- Date: 6 Nov 92 11:23:30 GMT
- Sender: news@sicsun.epfl.ch
- Reply-To: ebel@lcaohp1.epfl.ch
- Organization: EPFL.
- Lines: 13
-
- Hi Netters,
- I have a software in several versions. These versions are choosen by #ifdef BLA,
- In my makefile I could have cc -DBLA ...
-
- Is there a way to choose the version by giving an appropriate goal
- like 'make BLA', resp. make. I know of 'make option=BLA' but this seems to me
- too complicted.
-
-
- --
- Norbert Ebel IMECO-LCAO
- Departement de Mecanique
- EPFL 1015 Lausanne
-