home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8898 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  1.4 KB

  1. Xref: sparky comp.os.msdos.programmer:8898 alt.msdos.programmer:2291 comp.lang.c:13008 comp.lang.c++:13082
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!cybrspc!roy
  3. From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail)
  4. Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.lang.c,comp.lang.c++,comp.sys
  5. Subject: Re: Question: Forcing BC++ to compile a module
  6. Message-ID: <7y2BqB4w165w@cybrspc.UUCP>
  7. Date: Sun, 30 Aug 92 13:45:53 CDT
  8. References: <HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>
  9. Organization: Villa CyberSpace, Minneapolis, MN
  10. Lines: 22
  11.  
  12. Hannu.Nyman@hut.fi (Hannu Nyman) writes:
  13.  
  14. > I would like to force Borland C++ IDE compiler to compile a module
  15. > every time I do a 'make' in IDE, regardless of the last modification
  16. > date of that module.
  17. > So, when I change any module and do a 'make' inside IDE, I would like
  18. > BC to compile not only the changed module(s), but also this one
  19. > special module.
  20. > Does anybody know a switch or compiler directive that does the job?
  21.  
  22. Assuming your special .obj is in the main list of dependancies, a rule
  23. with no dependancies should do it.
  24.  
  25. special.obj:
  26.     $(CC) $(CFLAGS) $*
  27.  
  28. --
  29. Roy M. Silvernail --    [my machine ] "Sometimes, you're the windshield....
  30. roy%cybrspc@cs.umn.edu  [my opinions]            sometimes, you're the bug!"
  31. cybrspc!roy@cs.umn.edu  [my $0.0275 ]                      --Mark Knopfler
  32.