Mail Archives: djgpp/1996/09/22/23:06:27
> - take all *.cpp and *.c and *.asm files in a given directory (yes,
> all!)
> - take some named .cpp .c and .asm files
> - compile them, when they need to be compiled (ie. when header files and
> the
> source itself are changed)
The best thing you can do is sit down and type:
info "Make"
This will tell you everything you need to know. There is a lot too, so
get ready to write stuff down. Make also checks to see if a file has been
changed, and will automatically compile changed files, and leave the rest
alone.
> - compile the whole thing into an archive (or executable), add some libs
> and objs to it (ehh, I mean .a and .o files)
I think you have to use ld for this ... I am not sure as I haven't done it
myself. Check the faq, it will most likely say something...
Leathal.
- Raw text -