home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:8898 alt.msdos.programmer:2291 comp.lang.c:13008 comp.lang.c++:13082
- 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
- From: roy%cybrspc@cs.umn.edu (Roy M. Silvernail)
- Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer,comp.lang.c,comp.lang.c++,comp.sys
- Subject: Re: Question: Forcing BC++ to compile a module
- Message-ID: <7y2BqB4w165w@cybrspc.UUCP>
- Date: Sun, 30 Aug 92 13:45:53 CDT
- References: <HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>
- Organization: Villa CyberSpace, Minneapolis, MN
- Lines: 22
-
- Hannu.Nyman@hut.fi (Hannu Nyman) writes:
-
- > I would like to force Borland C++ IDE compiler to compile a module
- > every time I do a 'make' in IDE, regardless of the last modification
- > date of that module.
- >
- > So, when I change any module and do a 'make' inside IDE, I would like
- > BC to compile not only the changed module(s), but also this one
- > special module.
- >
- > Does anybody know a switch or compiler directive that does the job?
-
- Assuming your special .obj is in the main list of dependancies, a rule
- with no dependancies should do it.
-
- special.obj:
- $(CC) $(CFLAGS) $*
-
- --
- Roy M. Silvernail -- [my machine ] "Sometimes, you're the windshield....
- roy%cybrspc@cs.umn.edu [my opinions] sometimes, you're the bug!"
- cybrspc!roy@cs.umn.edu [my $0.0275 ] --Mark Knopfler
-