Article View: comp.os.msdos.programmer
Article #1146Re: Question: Forcing BC++ to compile a module
From: Roy M. Silvernail
Date: Sun, 30 Aug 1992 18:45
Date: Sun, 30 Aug 1992 18:45
22 lines
1370 bytes
1370 bytes
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
Technical Details
Message-ID:
<7y2BqB4w165w@cybrspc.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!cybrspc!royReferences:
<HANNU.NYMAN.92Aug28221910@vipunen.hut.fi>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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