added debug build, fleshing out the tzdata parser. currently broken

This commit is contained in:
aj
2010-11-03 02:49:13 -07:00
parent 563f2c6e09
commit 3c965fe7b6
4 changed files with 190 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
ERLC_WARNINGS = -W1
MNESIA_DIR = db
RUN_INIT =
DEBUG =
OPTIONS =
all : clean compile
@@ -14,7 +16,7 @@ test : all
erl -noshell -pa ebin -s test_master start -s erlang halt
compile :
erlc $(ERLC_WARNINGS) $(OPTIONS) -o ./ebin ./src/*.erl
erlc $(DEBUG) $(ERLC_WARNINGS) $(OPTIONS) -o ./ebin ./src/*.erl
-erl -noshell -pa ebin -s erldev make_app . -s erlang halt
clean :
@@ -22,4 +24,9 @@ clean :
run :
erl -pa ebin -mnesia dir $(MNESIA_DIR) $(RUN_INIT)
erl -pa ebin -mnesia dir $(MNESIA_DIR) $(RUN_INIT)
debug : DEBUG = +debug_info
debug : RUN_INIT = -s debugger start
debug : all