diff --git a/makefile b/makefile index 3ed5315..75149be 100644 --- a/makefile +++ b/makefile @@ -7,11 +7,12 @@ all: dest dest: @ mkdir -p bin -run: bin/modal +run: all bin/modal @ bin/modal examples/hello.modal 2> /dev/null -test: bin/modal-debug +test: bin/modal-debug bin/modal @ bin/modal -v - @ time bin/modal examples/test.modal "(arg1) (arg2 (arg3))" + @ bin/modal-debug examples/test.modal "(arg1) (arg2 (arg3))" + @ time bin/modal- examples/test.modal "(arg1) (arg2 (arg3))" install: bin/modal cp bin/modal ~/bin/ uninstall: @@ -26,5 +27,5 @@ archive: all bin/modal-debug: src/modal.c @ cc ${DEBUG_flags} src/modal.c -o bin/modal-debug bin/modal: src/modal.c - @ cc ${RELEASE_flags} src/modal.c -o bin/modal-debug + @ cc ${RELEASE_flags} src/modal.c -o bin/modal