[erlang-questions] Erlang and autoconf/make
Ludovic Coquelle
lcoquelle@REDACTED
Wed Nov 15 08:15:07 CET 2006
Thanks guys! I learned a lot with this thread :)
But can I ask one more thing? ... I would like a summary:
could you please give us the final version of configure.ac and
Makefile.amthat can be used as template of any erlanguish application?
On 11/15/06, Romain Lenglet <rlenglet@REDACTED> wrote:
>
> Pupeno wrote:
> > BTW, I've found this way of writing it:
> >
> > %.beam: %.erl
> > $(ERLC) $(ERLCFLAGS) -b beam $<
> >
> > instead of
> >
> > SUFFIXES = .erl .beam
> > .erl.beam:
> > $(ERLC) $(ERLCFLAGS) -b beam $<
> >
> > which seems to be the current way of doing it. And it is more
> > readable.
>
> Yes, you're right, thanks!
> But I believed that pattern rules were a GNU Make'ism?
> I believe that BSD Make supports only implicit rules, and not
> pattern rules. Therefore, I believe that implicit rules are more
> portable. Maybe I am wrong.
>
> Since Automake is supposed to generate Makefiles that do not
> require GNU Make, it may be a good idea to not depend on GNU
> Make in your Makefile.am.
>
> --
> Romain LENGLET
> Pr. Chiba Shigeru Group
> Dept. of Mathematical and Computing Sciences
> Tokyo Institute of Technology
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061115/bab1a3ea/attachment.htm>
More information about the erlang-questions
mailing list