|
From: Per W. <pw...@ia...> - 2005-02-22 09:36:01
|
The disadvantage with editing the Makefile manually is that it is regenerated by Dev-C++. It is better to go into project options and add extra rules there - I normally add an include for a separate file, where I manually add defines and rules that I need. /Per W On Mon, 21 Feb 2005, Alfred P. Reaud wrote: > You can use either method. You can try to use the Project Options-->Build Options tab, or you can add a command to the all: section of the makefile, i.e.: > > all: all-before FileCleanerPro.exe all-after > cp $(OBJ) /drive/folder > cp $(something) /drive/folder > ... > > The makefile is just a text file similar to a batch file, and any text editor should work. Remember to use Unix conventions in folder names. > > Sabree Blackmon <sab...@ve...> wrote: > How can you have Dev C++ create 2 of the same output file. In other > words, I want to compile a dll and have a copy of it and the .a and .h > placed in another directory. I know the make file has something to do > with it somehow but I've tried experimenting with it and i got it to > work only somewhat. Anyway you can do this graphically, or must you > alter the makefile and how do you alter it? Any suggestions appreciated. > <snip> > > > > Alfred P. Reaud > > > |