forked from hurricane/hurricane
/
Makefile
40 lines (27 loc) · 1.73 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
ERLC=erlc
ERLC_OPTS=-v -Wall -Werror +o3 -o ebin
all: ebin/hurricane.beam ebin/hurricane_config_server.beam ebin/hurricane_distribution_manager.beam ebin/hurricane_http_server.beam ebin/hurricane_log_server.beam ebin/hurricane_message_delegate.beam ebin/hurricane_stdio_server.beam ebin/hurricane_supervisor.beam ebin/hurricane_tcp_server.beam ebin/hurricane_utils.beam
all-native: ERLC_OPTS += +native
all-native: all
clean:
/usr/bin/env rm -f ebin/*.beam
ebin/hurricane.beam: erl_modules/hurricane.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane.erl
ebin/hurricane_config_server.beam: erl_modules/hurricane_config_server.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_config_server.erl
ebin/hurricane_distribution_manager.beam: erl_modules/hurricane_distribution_manager.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_distribution_manager.erl
ebin/hurricane_http_server.beam: erl_modules/hurricane_http_server.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_http_server.erl
ebin/hurricane_log_server.beam: erl_modules/hurricane_log_server.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_log_server.erl
ebin/hurricane_message_delegate.beam: erl_modules/hurricane_message_delegate.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_message_delegate.erl
ebin/hurricane_stdio_server.beam: erl_modules/hurricane_stdio_server.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_stdio_server.erl
ebin/hurricane_supervisor.beam: erl_modules/hurricane_supervisor.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_supervisor.erl
ebin/hurricane_tcp_server.beam: erl_modules/hurricane_tcp_server.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_tcp_server.erl
ebin/hurricane_utils.beam: erl_modules/hurricane_utils.erl
$(ERLC) $(ERLC_OPTS) erl_modules/hurricane_utils.erl