mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
3131c08155
* src/expat_erl.c: Added #ifdef for WIN32 (thanks to Sergei Golovan) * src/mod_irc/iconv_erl.c: Likewise * src/configure.erl: Defines ERLANG_DIR variable (thanks to Sergei Golovan) * **/Makefile: Use ERLANG_DIR (thanks to Sergei Golovan) * **/Makefile.win32: Makefiles for windows build (thanks to Sergei Golovan) * src/configure.bat: Configuration script for windows (thanks to Sergei Golovan) SVN Revision: 123
29 lines
370 B
Makefile
29 lines
370 B
Makefile
# $Id$
|
|
|
|
include ../Makefile.inc
|
|
|
|
INCLUDES = -I$(ERLANG_DIR)/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
|
|
|