[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using Automake with unsupported languages
From: |
Tom Tromey |
Subject: |
Re: using Automake with unsupported languages |
Date: |
15 Sep 2002 12:55:03 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "Vance" == Vance Shipley <address@hidden> writes:
Vance> Erlang source files have .erl extensions. The erlang compiler
Vance> 'erlc' creates files with the extension .beam. Erlang is
Vance> similiar to Java in that it uses a virtual machine.
Vance> I created a rule for making .beam files out of .erl source files:
Vance> .erl.beam:
Vance> @ERLC@ -b beam $@ $<
Stylistically it is slightly preferred to write $(ERLC).
That way the user can override the setting at make time, as needed.
Vance> Now how can I create Automake instructions to build foo.beam?
Just make it _DATA:
data_DATA = netaccess.beam
Having a way to just list the sources and let automake guess what
should be installed as been on the to-do list for a long time.
Tom