home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / c / 16309 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  922 b 

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