diff options
author | Rickard Green <[email protected]> | 2017-06-30 16:34:26 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-08-28 14:42:44 +0200 |
commit | 87677f64629f1f738e132659c445c3431b02c0b2 (patch) | |
tree | ba5d4a57f36f10a1b755b2ecc9edf8e12eeb0db1 /lib/kernel/examples/gen_tcp_dist/Makefile | |
parent | 78fad16ef7c5477239bc0b51125fabfe6567039d (diff) | |
download | otp-87677f64629f1f738e132659c445c3431b02c0b2.tar.gz otp-87677f64629f1f738e132659c445c3431b02c0b2.tar.bz2 otp-87677f64629f1f738e132659c445c3431b02c0b2.zip |
Example of using distribution controller processes
Diffstat (limited to 'lib/kernel/examples/gen_tcp_dist/Makefile')
-rw-r--r-- | lib/kernel/examples/gen_tcp_dist/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/kernel/examples/gen_tcp_dist/Makefile b/lib/kernel/examples/gen_tcp_dist/Makefile new file mode 100644 index 0000000000..65513a1729 --- /dev/null +++ b/lib/kernel/examples/gen_tcp_dist/Makefile @@ -0,0 +1,20 @@ +RM=rm -f +CP=cp +EBIN=ebin +ERLC=erlc +# Works if building in open source source tree +KERNEL_INCLUDE=$(ERL_TOP)/lib/kernel/include +ERLCFLAGS+= -W -I$(KERNEL_INCLUDE) + +MODULES=gen_tcp_dist + +TARGET_FILES=$(MODULES:%=$(EBIN)/%.beam) + +opt: $(TARGET_FILES) + +$(EBIN)/%.beam: src/%.erl + $(ERLC) $(ERLCFLAGS) -o$(EBIN) $< + +clean: + $(RM) $(TARGET_FILES) + |