On Wed, Nov 19, 2014 at 08:44:53PM +0100, k...@shike2.com wrote:
>
> >> In fact, POSIX says that it could be only:
> >>
> >>
> >>$(LIB): libutf($(LIBUTFOBJ)) libutil($(LIBUTILOBJ))
> >>
> >> but my experience is that it doesn't work in BSD systems :(
> >
> > We now depend on GNU make. I a
>> In fact, POSIX says that it could be only:
>>
>>
>> $(LIB): libutf($(LIBUTFOBJ)) libutil($(LIBUTILOBJ))
>>
>> but my experience is that it doesn't work in BSD systems :(
>
> We now depend on GNU make. I am tired of fighting make implementations.
Ok, but I think current Makefile works
On Wed, Nov 19, 2014 at 08:15:09PM +0100, k...@shike2.com wrote:
> > The Makefile made libutil.a and libutf.a identical. Here is a patch to fix
> > this.
> >
> > -$(LIB): $(LIBUTFOBJ) $(LIBUTILOBJ)
> > +$(LIBUTF): $(LIBUTFOBJ)
> > + $(AR) -r -c $@ $?
> > + $(RANLIB) $@
> > +
> > +$(LIBUT
> The Makefile made libutil.a and libutf.a identical. Here is a patch to fix
> this.
>
> -$(LIB): $(LIBUTFOBJ) $(LIBUTILOBJ)
> +$(LIBUTF): $(LIBUTFOBJ)
> +$(AR) -r -c $@ $?
> +$(RANLIB) $@
> +
> +$(LIBUTIL): $(LIBUTILOBJ)
> $(AR) -r -c $@ $?
> $(RANLIB) $@
>
In fact
On Tue, Nov 18, 2014 at 07:27:40PM -0500, Jean-Philippe Gagné Guay wrote:
> The Makefile made libutil.a and libutf.a identical. Here is a patch to fix
> this.
Thanks, applied.
The Makefile made libutil.a and libutf.a identical. Here is a patch to fix this.
diff --git a/Makefile b/Makefile
index 1f01866..9143406 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,11 @@ $(OBJ): $(HDR) config.mk
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
-$(LIB): $(LIBUTFOBJ) $(LIBU