mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
29 lines
372 B
Makefile
29 lines
372 B
Makefile
|
# $Id$
|
||
|
|
||
|
include ../Makefile.inc
|
||
|
|
||
|
INCLUDES = -I/usr/lib/erlang/usr/include \
|
||
|
-I$(EI_DIR)/include \
|
||
|
-I/usr/local/include
|
||
|
|
||
|
LIBDIRS = -L$(EI_DIR)/lib -L/usr/local/lib
|
||
|
|
||
|
|
||
|
OUTDIR = ..
|
||
|
EFLAGS = -I .. -pz ..
|
||
|
OBJS = \
|
||
|
$(OUTDIR)/mod_pubsub.beam
|
||
|
|
||
|
all: $(OBJS)
|
||
|
|
||
|
$(OUTDIR)/%.beam: %.erl
|
||
|
erlc -W $(EFLAGS) -o $(OUTDIR) $<
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm -f *.beam
|
||
|
|
||
|
TAGS:
|
||
|
etags *.erl
|
||
|
|