diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -30,8 +30,11 @@ native: stub doc:
$(OCAMLBUILD) -pkgs $(PACKAGES) -menhir -Is $(PATHS) licht.docdir/index.html
-test: stub
- $(OCAMLBUILD) -pkgs $(PACKAGES),oUnit -cflag -g -lflag -g $(STUB_OPTIONS) $(MENHIR) -Is $(PATHS),tests,tests/odf test.byte --
+test.byte: stub
+ $(OCAMLBUILD) -pkgs $(PACKAGES),oUnit -cflag -g -lflag -g $(STUB_OPTIONS) $(MENHIR) -Is $(PATHS),tests,tests/odf $@
+
+test: test.byte
+ ./test.byte
relink: stub
rm -f _build/main.native
|