pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible Bug in Makefile


From: Michel Boaventura
Subject: Re: Possible Bug in Makefile
Date: Sat, 4 Oct 2008 02:33:41 -0300

It works like a charm, but I made a little change on the path using
$(EXEEXT_FOR_BUILD) in the place of address@hidden

Im compilling on my ubuntu using mingw and wine. The pspp.exe works
with no problems, and im now trying to make psppire.
I like the cygwin version, but I think that if we have a version
working "native" on windows will be cooler :P

Thanks for the feedback, and by the way, I compiled 0.6.1-rc1 on mingw
with no problems(only the q2c issue).

2008/10/2 Ben Pfaff <address@hidden>:
> John Darrington <address@hidden> writes:
>
>> --- a/src/language/lexer/automake.mk
>> +++ b/src/language/lexer/automake.mk
>> @@ -17,7 +17,7 @@ EXTRA_DIST += src/language/lexer/q2c.c
>>
>>  src/language/lexer/q2c$(EXEEXT_FOR_BUILD): 
>> $(top_srcdir)/src/language/lexer/q2c.c
>>       @$(MKDIR_P) `dirname address@hidden
>> -     $(CC_FOR_BUILD) $(top_srcdir)/src/language/lexer/q2c.c -o 
>> $(top_builddir)/src/language/lexer/q2c
>> +     $(CC_FOR_BUILD) $(top_srcdir)/src/language/lexer/q2c.c -o $@
>
> It's better to write src/language/lexer/q2c$(EXEEXT_FOR_BUILD)
> here than to write $@, because non-GNU makes do not necessarily
> support $@ other than in implicit rules.  We do depend on some
> GNU make features elsewhere, but I'd prefer to keep the
> dependencies to a minimum so that we have a better chance of
> being able to eliminate them one day.
> --
> "I admire him, I frankly confess it; and when his time comes
>  I shall buy a piece of the rope for a keepsake."
> --Mark Twain
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]