mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
2e00142b38
SVN Revision: 799
39 lines
623 B
Makefile
39 lines
623 B
Makefile
# $Id$
|
|
|
|
CC = @CC@
|
|
CFLAGS = @CFLAGS@ @ERLANG_CFLAGS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@ @ERLANG_LIBS@
|
|
|
|
SUBDIRS =
|
|
|
|
OUTDIR = ..
|
|
EFLAGS = -I .. -pz ..
|
|
# make debug=true to compile Erlang module with debug informations.
|
|
ifdef debug
|
|
EFLAGS+=+debug_info
|
|
endif
|
|
|
|
OBJS = \
|
|
$(OUTDIR)/mod_proxy65.beam \
|
|
$(OUTDIR)/mod_proxy65_service.beam \
|
|
$(OUTDIR)/mod_proxy65_sm.beam \
|
|
$(OUTDIR)/mod_proxy65_stream.beam \
|
|
$(OUTDIR)/mod_proxy65_lib.beam
|
|
|
|
all: $(OBJS)
|
|
|
|
$(OUTDIR)/%.beam: %.erl
|
|
@ERLC@ -W $(EFLAGS) -o $(OUTDIR) $<
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
TAGS:
|
|
etags *.erl
|
|
|