c++.command-line - makefile builder?
- Robert M. Münch (16/16) Dec 30 2001 Hi, yesterday I remember the DM C++ compiler and had a look at it. Great...
- Walter (8/15) Dec 31 2001 to
- Robert M. Münch (4/7) Dec 31 2001 Hi Walter, I knew there was something like this available (but I didn't
- Robert M. Münch (7/10) Jan 01 2002 Hi, ok and now all the .obj files should go into a .lib file. I tried th...
-
Walter
(4/15)
Jan 01 2002
First, use lib instead of link
. Secondly, I've emailed you a makefil...
Hi, yesterday I remember the DM C++ compiler and had a look at it. Great to see that it's development is continued. Anyway, I want to try it on some code I have downloaded from the web (MAD mp3 library). Most of these packages use the autoconf stuff. I never had a look at it because IIRC it's not well supported on Windows. What's the best way to create a DM makefile? I haven't found a way to create generic rule like: .obj: ($file).c sc -s $file or something like this. Any hint for me? -- Robert M. Münch IT & Management Freelancer Mobile: +49 (0)177 2452 802 Fax : +49 (0)721 8408 9112 Web : http://www.robertmuench.de
Dec 30 2001
"Robert M. Münch" <robert.muench robertmuench.de> wrote in message news:a0n3rr$95u$1 digitaldaemon.com...Hi, yesterday I remember the DM C++ compiler and had a look at it. Greattosee that it's development is continued.Glad to have you here!What's the best way to create a DM makefile? I haven't found a way tocreategeneric rule like: .obj: ($file).c sc -s $file or something like this. Any hint for me?I use: .c.obj : sc -c $(CFLAGS) $*
Dec 31 2001
"Walter" <walter digitalmars.com> schrieb im Newsbeitrag news:a0p7pm$1h32$1 digitaldaemon.com...I use: .c.obj : sc -c $(CFLAGS) $*Hi Walter, I knew there was something like this available (but I didn't found it in the docs) :-)). Thanks a lot for the tip. Robert
Dec 31 2001
"Walter" <walter digitalmars.com> schrieb im Newsbeitrag news:a0p7pm$1h32$1 digitaldaemon.com...I use: .c.obj : sc -c $(CFLAGS) $*Hi, ok and now all the .obj files should go into a .lib file. I tried the following but this didn't worked: .obj.lib: link mylib.lib /B /C +-$* Any idea how to such a rule the correct way? Robert
Jan 01 2002
"Robert M. Münch" <robert.muench robertmuench.de> wrote in message news:a0sra9$h4v$1 digitaldaemon.com..."Walter" <walter digitalmars.com> schrieb im Newsbeitrag news:a0p7pm$1h32$1 digitaldaemon.com...First, use lib instead of link <g>. Secondly, I've emailed you a makefile I use to build libraries. -WalterI use: .c.obj : sc -c $(CFLAGS) $*Hi, ok and now all the .obj files should go into a .lib file. I tried the following but this didn't worked: .obj.lib: link mylib.lib /B /C +-$* Any idea how to such a rule the correct way? Robert
Jan 01 2002