Re: [Dev-C++] How to customize makefile?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Matthews <dem...@uw...> - 2003-05-28 17:49:38
|
What about the "makefile" tab in project options? :p At 04:35 PM 28/05/2003 +0100, Tom Craig wrote: > >"Maxim Yemelyanov" <ma...@en...> writes: >> Hello, everybody! >> >> How can I customize makefile, generated by DevC++ ? Whe I edit it, it's >> re-created on each build & all my changes are lost. >> I need this to include .h-files dependencies, like that: >> main.o: main.cpp myclass.h > >I ran into the same problem recently and found the following bit of lateral >thinking worked nicely: > >In the Dev-C++ IDE, choose Compiler Options from the Tools menu and set a >compile delay of 5000ms. Create a copy of your make file called, say, >makecopy.win. Now create a text file in your project's directory and save >with the BAT extension. Paste this into it: > >@echo off >copy makecopy.win makefile.win /Y > >Save, then create a shortcut to this BAT file in your Quick Launch bar or >somewhere else convenient. Now, whenever you compile your project, in the >5000ms delay between makefile generation and execution by Dev-C++ of gcc, >click your shortcut and it will restore the overwritten makefile to your >customised version. > >There's probably an easier way that I'm not aware of, though. :-) > >--Tom > > > >------------------------------------------------------- >This SF.net email is sponsored by: ObjectStore. >If flattening out C++ or Java code to make your application fit in a >relational database is painful, don't do it! Check out ObjectStore. >Now part of Progress Software. http://www.objectstore.net/sourceforge >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |