home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!tiamat!quintro!reb
- From: reb@quintro.uucp (Roger E. Benz)
- Newsgroups: comp.lang.c
- Subject: How to use make to create two different targets from the same sources
- Message-ID: <1992Nov10.220743.4479@quintro.uucp>
- Date: 10 Nov 92 22:07:43 GMT
- Organization: none
- Lines: 14
-
- I would like to setup a Makefile that would allow me to create two
- different targets from the same source files. Our primary target is
- a 68k embedded system for which we use a cross compiler. During
- development, however, we find it useful to build test version using
- the native compiler. Currently, I have to edit my Makefile to switch
- compilers and then run: make clean. If anyone knows of an easier way to
- accomplish this, I would be most thankful.
-
-
- --
- Roger E. Benz Glenayre Electronics, Inc.
- Phone = (217) 223-3211 One Quintron Way
- Quincy, IL
- UUCP: tiamat!quintro!reb@uunet or quintro!reb@lll-winken
-