Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brendonh committed Sep 16, 2009
0 parents commit 8ddc4ce
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*~
*.pyc
Mnesia.*
sasl_err*
erl_crash*
34 changes: 34 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
SRC_DIR = src
EBIN_DIR = ebin
INCLUDE_DIR = include

SOURCES = $(wildcard $(SRC_DIR)/*.erl)
INCLUDES = $(wildcard $(INCLUDE_DIR)/*.hrl)
TARGETS = $(patsubst $(SRC_DIR)/%.erl, $(EBIN_DIR)/%.beam,$(SOURCES))

ERL_EBINS = -pa $(EBIN_DIR)

ERLC = erlc
ERLC_OPTS = -o $(EBIN_DIR) -Wall -v +debug_info

ERL_CMD=erl \
+W w \
$(ERL_EBINS)

all: $(TARGETS)

run_prereqs: all

test: run_prereqs
$(ERL_CMD) -noshell -s audinfo test -s init stop

clean: cleanlog
rm -f $(TARGETS)
rm -f $(EBIN_DIR)/*.beam

cleanlog:
rm -f auth.log report.log sasl_err.log
rm -f *.access

$(EBIN_DIR)/%.beam: $(SRC_DIR)/%.erl $(INCLUDES)
$(ERLC) $(ERLC_OPTS) $<
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Erlang OpenID client (and maybe server, sometime)

0 comments on commit 8ddc4ce

Please sign in to comment.