www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - DMC make - does it do macro string substitution?

↑ ↓ ← "Matthew Wilson" <dmd synesis.com.au> writes:
I'm using the following syntax:

EXES_MFCSTL  = $(OBJS_MFCSTL:.obj=.exe)

Doesn't work.

Any ideas?
Apr 07 2003
Arjan Knepper <ask me.to> writes:
I'm using this at several places and just works. (Using smake.exe)

OBJS	= $(SRCS:.c=.obj)


Matthew Wilson wrote:
 I'm using the following syntax:
 
 EXES_MFCSTL  = $(OBJS_MFCSTL:.obj=.exe)
 
 Doesn't work.
 
 Any ideas?
 
 
 
 

Apr 07 2003
↑ ↓ "Matthew Wilson" <dmd synesis.com.au> writes:
I'm using make, as I'm preparing a distribution that will be usable by
everyone (and not just the CD-buyers).

I've just explicitly duplicated all the symbols. sigh ...

"Arjan Knepper" <ask me.to> wrote in message
news:b6s6f1$1nq$1 digitaldaemon.com...
 I'm using this at several places and just works. (Using smake.exe)

 OBJS = $(SRCS:.c=.obj)


 Matthew Wilson wrote:
 I'm using the following syntax:

 EXES_MFCSTL  = $(OBJS_MFCSTL:.obj=.exe)

 Doesn't work.

 Any ideas?


Apr 07 2003
↑ ↓ → Arjan Knepper <ask me.to> writes:
I know what you mean, I was just playing with make smake and gnu-make 
for win32. I think I would choose gnu-make.

Matthew Wilson wrote:
 I'm using make, as I'm preparing a distribution that will be usable by
 everyone (and not just the CD-buyers).
 
 I've just explicitly duplicated all the symbols. sigh ...
 
 "Arjan Knepper" <ask me.to> wrote in message
 news:b6s6f1$1nq$1 digitaldaemon.com...
 
I'm using this at several places and just works. (Using smake.exe)

OBJS = $(SRCS:.c=.obj)


Matthew Wilson wrote:

I'm using the following syntax:

EXES_MFCSTL  = $(OBJS_MFCSTL:.obj=.exe)

Doesn't work.

Any ideas?



Apr 07 2003
→ "Walter" <walter digitalmars.com> writes:
Use smake rather than make for that.

"Matthew Wilson" <dmd synesis.com.au> wrote in message
news:b6s4c1$1lqe$1 digitaldaemon.com...
 I'm using the following syntax:

 EXES_MFCSTL  = $(OBJS_MFCSTL:.obj=.exe)

 Doesn't work.

 Any ideas?

Apr 07 2003