Find the answer to your Linux question:
Results 1 to 2 of 2
.SUFFIXES: .erl .beam .yrl .erl.beam: erlc -W $< .yrl.erl: erlc -W $< ERL = erl -boot start_clean MODS = chat_client chat_group chat_server io_widget lib_chan lib_chan_auth lib_chan_cs lib_chan_mm mod_chat_controller mod_math all: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2010
    Posts
    2

    Erlang makefile is frustrating


    .SUFFIXES: .erl .beam .yrl

    .erl.beam:
    erlc -W $<

    .yrl.erl:
    erlc -W $<

    ERL = erl -boot start_clean

    MODS = chat_client chat_group chat_server io_widget lib_chan lib_chan_auth lib_chan_cs lib_chan_mm mod_chat_controller mod_math

    all: compile

    compile: ${MODS:%=%.beam} subdirs

    subdirs:
    cd ./home/steven/erlangPrograms/programming_erlang/socket_dist; make

    clean:
    rm -rf *.beam erl_crash.dump
    cd ./home/steven/erlangPrograms/programming_erlant/socket_dist; make

    Also I have no idea if this is even right. Can anyone explain to me the syntax or know of any place that gives a clear explanation of it? Or maybe even if there is a manual built in? Honestly have no idea.

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Posts
    2
    and the dir that i want to make is shown:

    ./home/steven/erlangPrograms/programming_erlang/socket_dist; make

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •