www.digitalmars.com         C & C++   DMDScript  

c++ - Make

reply "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
I think I've just determined that DMC++'s make does not handle the extended
make syntax:

{$(UNIXEM_SRC_DIR)}.c{$(UNIXEM_OBJ_DIR)}.obj:
    $(CC) $(CC_ARGS) -I$(UNIXEM_INC_DIR) -o$  $<

Is this correct?

If so, do you have a handle on how hard it would be to add? (I know, you're
going to tell me to add it myself, aren't you ... <sob, sob>)

Matthew
Dec 18 2003
parent reply "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brrthg$2j61$1 digitaldaemon.com...
 I think I've just determined that DMC++'s make does not handle the
extended
 make syntax:

 {$(UNIXEM_SRC_DIR)}.c{$(UNIXEM_OBJ_DIR)}.obj:
     $(CC) $(CC_ARGS) -I$(UNIXEM_INC_DIR) -o$  $<

 Is this correct?
Yes.
 If so, do you have a handle on how hard it would be to add? (I know,
you're
 going to tell me to add it myself, aren't you ... <sob, sob>)
You could use smake <g>.
Dec 18 2003
parent reply "Matthew Wilson" <matthew.hat stlsoft.dot.org> writes:
"Walter" <walter digitalmars.com> wrote in message
news:brrueh$2kll$1 digitaldaemon.com...
 "Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
 news:brrthg$2j61$1 digitaldaemon.com...
 I think I've just determined that DMC++'s make does not handle the
extended
 make syntax:

 {$(UNIXEM_SRC_DIR)}.c{$(UNIXEM_OBJ_DIR)}.obj:
     $(CC) $(CC_ARGS) -I$(UNIXEM_INC_DIR) -o$  $<

 Is this correct?
Yes.
 If so, do you have a handle on how hard it would be to add? (I know,
you're
 going to tell me to add it myself, aren't you ... <sob, sob>)
You could use smake <g>.
Does that do it then, or are you just toying with me ?
Dec 18 2003
parent "Walter" <walter digitalmars.com> writes:
"Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
news:brs078$2n2g$1 digitaldaemon.com...
 "Walter" <walter digitalmars.com> wrote in message
 news:brrueh$2kll$1 digitaldaemon.com...
 "Matthew Wilson" <matthew.hat stlsoft.dot.org> wrote in message
 news:brrthg$2j61$1 digitaldaemon.com...
 I think I've just determined that DMC++'s make does not handle the
extended
 make syntax:

 {$(UNIXEM_SRC_DIR)}.c{$(UNIXEM_OBJ_DIR)}.obj:
     $(CC) $(CC_ARGS) -I$(UNIXEM_INC_DIR) -o$  $<

 Is this correct?
Yes.
 If so, do you have a handle on how hard it would be to add? (I know,
you're
 going to tell me to add it myself, aren't you ... <sob, sob>)
You could use smake <g>.
Does that do it then, or are you just toying with me ?
I think so. I didn't write smake and rarely use advanced make features.
Dec 18 2003