Mail Archives: djgpp/1993/10/11/13:33:35
>> It would also be nice if files with .o extension were expanded to a .obj
>> extension.
>Why ? GCC has knowledge only of .o files, not .obj files.
True, but I was also thinking about using the hacked make for BCC as well.
>prog.lnk: $(OBJS)
> -del prog.lnk
> for %o in (*.o) do echo %o >>prog.lnk # MS-DOS batch language
This will work fine on DOS. However, I also want the EXACT same makefile to
work on my Unix systems as well. Basically, I want a make for MSDOS that
understands a Unix makefile and interprets it accordingly. Of course, this is
impossible when the makefile calls other Unix specific utilities (awk, sed,
etc...). However, I would be happy with just the basic functionality.
--John
- Raw text -