Thread overview | ||||||
---|---|---|---|---|---|---|
|
January 06, 2004 smake fails to parse paths containing '-' | ||||
---|---|---|---|---|
| ||||
I have a makefile originally written for Microsoft's nmake that I am trying to use with smake. It fails on the following rules: {..\lua-5.0\src}.c.obj: $(CC) $(CCFLAGS) -c $< {..\lua-5.0\src\lib}.c.obj: $(CC) $(CCFLAGS) -c $< It doesn't like the - in the directory name: if I change the path to just lua50 (and rename the directory) then it works fine. However, this is an incompatibility with nmake that might be easy to fix. Regards, Bruce (yet another long-time Symantec C++ user) |
January 06, 2004 Re: smake fails to parse paths containing '-' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruce Dodson | I tested a little further and found that, even though the makefile parses after changing the path from lua-5.0 to lua50, it still isn't able to compile the lua source files. Guess smake doesn't process the {} rules exactly the same way as the Microsoft and Borland makes do. So, I'll just keep using the Borland make with the dm compiler; it'll be fine. Anyway the problem with '-' still remains, even though it doesn't matter to me personally. Regards, Bruce "Bruce Dodson" <bruce_dodson@hotmail.com> wrote in message news:btd08f$1b17$1@digitaldaemon.com... > I have a makefile originally written for Microsoft's nmake that I am trying to use with smake. It fails on the following rules: > > {..\lua-5.0\src}.c.obj: > $(CC) $(CCFLAGS) -c $< > {..\lua-5.0\src\lib}.c.obj: > $(CC) $(CCFLAGS) -c $< > > It doesn't like the - in the directory name: if I change the > path to just lua50 (and rename the directory) then it works > fine. However, this is an incompatibility with nmake that might be easy to fix. > > Regards, > Bruce (yet another long-time Symantec C++ user) > > |
January 06, 2004 Re: smake fails to parse paths containing '-' | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruce Dodson | This isnt related to Scite is it ? They are adding LUA scripting options. C "Bruce Dodson" <bruce_dodson_except_this_part@hotmail.com> wrote in message news:btd8k3$1n5n$1@digitaldaemon.com... > I tested a little further and found that, even though the makefile parses after changing the path from lua-5.0 to lua50, it still isn't able to compile the lua source files. Guess smake doesn't process the {} rules exactly the same way as the Microsoft and Borland makes do. So, I'll just keep using the Borland make with the dm compiler; it'll be fine. > > Anyway the problem with '-' still remains, even though it doesn't matter to me personally. > > Regards, > Bruce > > > "Bruce Dodson" <bruce_dodson@hotmail.com> wrote in message news:btd08f$1b17$1@digitaldaemon.com... > > I have a makefile originally written for Microsoft's nmake that I am trying to use with smake. It fails on the following rules: > > > > {..\lua-5.0\src}.c.obj: > > $(CC) $(CCFLAGS) -c $< > > {..\lua-5.0\src\lib}.c.obj: > > $(CC) $(CCFLAGS) -c $< > > > > It doesn't like the - in the directory name: if I change > the > > path to just lua50 (and rename the directory) then it > works > > fine. However, this is an incompatibility with nmake that might be easy to fix. > > > > Regards, > > Bruce (yet another long-time Symantec C++ user) > > > > > > |
January 07, 2004 Re: smake fails to parse paths containing '-' | ||||
---|---|---|---|---|
| ||||
Posted in reply to C | Yes, that's what it's for. (Write me for more info, or to become involved in testing / development.) "C" <dont@respond.com> wrote in message news:btdchq$1tig$1@digitaldaemon.com... > This isnt related to Scite is it ? They are adding LUA scripting options. |
Copyright © 1999-2021 by the D Language Foundation